Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~2K People Reached
Favorite Tags
jsp x 14
java x 4
Member Avatar for kiwicas

Hi, I'm not sure if this is the right forum but.... I'm doing a project for college which involves Learning Content Managemnt System. I've developed a few features for this including chat, forums, etc. I want to develop an SMS system to use in conjunction with the chat application ie. …

Member Avatar for simmer
0
130
Member Avatar for aruna_k_2006

hi everyone, I am able to set Expiry for jsp in IE but in same jsp i have img tag for those i am unable set Expiry ................. response.setDateHeader()...plzzzzzzzzzzzz any one help out

0
52
Member Avatar for aruna_k_2006

[COLOR=green]This is my main window [/COLOR] [COLOR=green]<html>[/COLOR] [COLOR=green]<head>[/COLOR] <SPAN style="COLOR: green">[COLOR=green]<[/COLOR][COLOR=green]script [/COLOR][COLOR=green]language[/COLOR][COLOR=green]=[/COLOR][COLOR=green]javascript[/COLOR][COLOR=green]>[/COLOR] [COLOR=green]function [/COLOR][COLOR=green]PopWindow(URL,height,width)[/COLOR] [COLOR=green]{[/COLOR] [COLOR=green]// alert("in popwindow");[/COLOR] [COLOR=green]window.open(URL,height+width,[/COLOR][COLOR=green]"width="[/COLOR][COLOR=green]+width+[/COLOR][COLOR=green]",height="[/COLOR][COLOR=green]+height+[/COLOR][COLOR=green]",resize=no,resizable=no,scrollbars=yes,menubar=no,status=no"[/COLOR][COLOR=green]);[/COLOR] window.focus(); [COLOR=green]}[/COLOR] [COLOR=green]</[/COLOR][COLOR=green]script[/COLOR][COLOR=green]>[/COLOR] [COLOR=green]</[/COLOR][COLOR=green]head[/COLOR][COLOR=green]>[/COLOR] [COLOR=green]<[/COLOR][COLOR=green]body[/COLOR][COLOR=green]>[/COLOR] [COLOR=green]<%[/COLOR] String StudentID=request.getParameter([COLOR=green]"id2"[/COLOR]); System.out.println(StudentID); [COLOR=green]%>[/COLOR] [COLOR=green]<[/COLOR][COLOR=green]form [/COLOR][COLOR=green]method[/COLOR][COLOR=green]=[/COLOR][COLOR=green]"Post" [/COLOR][COLOR=green]name[/COLOR][COLOR=green]=[/COLOR][COLOR=green]"f1" [/COLOR][COLOR=green]action[/COLOR][COLOR=green]=[/COLOR][COLOR=green]""[/COLOR][COLOR=green]>[/COLOR] [COLOR=green]<table [/COLOR][COLOR=green]border[/COLOR][COLOR=green]=[/COLOR][COLOR=green]0 [/COLOR][COLOR=green]align[/COLOR][COLOR=green]=[/COLOR][COLOR=green]left[/COLOR][COLOR=green]>[/COLOR] [COLOR=green]<[/COLOR][COLOR=green]tr[/COLOR][COLOR=green]>[/COLOR] [COLOR=green]<[/COLOR][COLOR=green]td [/COLOR][COLOR=green]align[/COLOR][COLOR=green]=[/COLOR][COLOR=green]left[/COLOR][COLOR=green]><[/COLOR][COLOR=green]b[/COLOR][COLOR=green]><[/COLOR][COLOR=green]font [/COLOR][COLOR=green]color[/COLOR][COLOR=green]=[/COLOR][COLOR=green]"maroon" [/COLOR][COLOR=green]size[/COLOR][COLOR=green]=[/COLOR][COLOR=green]3[/COLOR][COLOR=green]>[/COLOR][COLOR=green]&nbsp;[/COLOR][COLOR=green]|[/COLOR][COLOR=green]&nbsp;[/COLOR][COLOR=green]</[/COLOR][COLOR=green]font[/COLOR][COLOR=green]></[/COLOR][COLOR=green]b[/COLOR][COLOR=green]>[/COLOR][COLOR=green]Student ID[/COLOR][COLOR=green]</[/COLOR][COLOR=green]td[/COLOR][COLOR=green]><[/COLOR][COLOR=green]td[/COLOR][COLOR=green]><[/COLOR][COLOR=green]input [/COLOR][COLOR=green]type[/COLOR][COLOR=green]=[/COLOR][COLOR=green]"text" [/COLOR][COLOR=green]name[/COLOR][COLOR=green]=[/COLOR][COLOR=green]"StudentID" [/COLOR][COLOR=green]value[/COLOR][COLOR=green]="[/COLOR][COLOR=green]<%[/COLOR][COLOR=green]StudentID[/COLOR][COLOR=green]%>[/COLOR][COLOR=green]" [/COLOR][COLOR=green]size[/COLOR][COLOR=green]=[/COLOR][COLOR=green]"20"[/COLOR][COLOR=green]>[/COLOR][COLOR=green]&nbsp;&nbsp;&nbsp;&nbsp;[/COLOR][COLOR=green]<[/COLOR][COLOR=green]A [/COLOR][COLOR=green]HREF[/COLOR][COLOR=green]=[/COLOR][COLOR=green]Javascript:PopWindow([/COLOR][COLOR=green]"[/COLOR][COLOR=green][URL="http://127.0.0.1:8081/I_Campus/PopUp?EI=<%=EI%>&CC=<%=CC%>&GC=<%=GC%>&fname=Display"][COLOR=green]><[/COLOR][COLOR=green]img[/URL] [/COLOR][COLOR=green]src[/COLOR][COLOR=green]=[/COLOR][COLOR=green]"images/search.gif" [/COLOR][COLOR=green]border[/COLOR][COLOR=green]=[/COLOR][COLOR=green]0[/COLOR][COLOR=green]></[/COLOR][COLOR=green]a[/COLOR][COLOR=green]>[/COLOR][COLOR=green]</[/COLOR][COLOR=green]td[/COLOR][COLOR=green]>[/COLOR] [COLOR=green]</[/COLOR][COLOR=green]tr[/COLOR][COLOR=green]>[/COLOR] …

Member Avatar for peter_budo
0
194
Member Avatar for aruna_k_2006

hi ,i want to print e.printStackTrace in File using log 4j but its giving error ........ these r my files web1.xml [COLOR=green]<[/COLOR][COLOR=green]context-param[/COLOR][COLOR=green]>[/COLOR] [COLOR=green]<[/COLOR][COLOR=green]param-name[/COLOR][COLOR=green]>[/COLOR]driverName[COLOR=green]</[/COLOR][COLOR=green]param-name[/COLOR][COLOR=green]>[/COLOR] [COLOR=green]<[/COLOR][COLOR=green]param-value[/COLOR][COLOR=green]>[/COLOR]com.microsoft.jdbc.sqlserver.SQLServerDriver[COLOR=green]</[/COLOR][COLOR=green]param-value[/COLOR][COLOR=green]>[/COLOR] [COLOR=green]</[/COLOR][COLOR=green]context-param[/COLOR][COLOR=green]>[/COLOR] [COLOR=green]<[/COLOR][COLOR=green]context-param[/COLOR][COLOR=green]>[/COLOR] [COLOR=green]<[/COLOR][COLOR=green]param-name[/COLOR][COLOR=green]>[/COLOR]log4j1[COLOR=green]</[/COLOR][COLOR=green]param-name[/COLOR][COLOR=green]>[/COLOR] [COLOR=green]<[/COLOR][COLOR=green]param-value[/COLOR][COLOR=green]>[/COLOR]WEB-INF/classes/log4j.properties[COLOR=green]</[/COLOR][COLOR=green]param-value[/COLOR][COLOR=green]>[/COLOR] [COLOR=green]</[/COLOR][COLOR=green]context-param[/COLOR][COLOR=green]>[/COLOR] MyListener.java [B][COLOR=green]public[/COLOR][/B][B][COLOR=green]class[/COLOR][/B][COLOR=green] MyListener [/COLOR][B][COLOR=green]implements[/COLOR][/B][COLOR=green] ServletContextListener{[/COLOR] Connection [COLOR=green]con[/COLOR]; [B][COLOR=green]public[/COLOR][/B] [B][COLOR=green]void[/COLOR][/B] contextInitialized(ServletContextEvent sce) { [B][COLOR=green]try[/COLOR][/B]{ ServletContext sctx=sce.getServletContext(); String log1=sctx.getInitParameter([COLOR=green]"log4j1"[/COLOR]); sctx.setAttribute([COLOR=green]"log1"[/COLOR],log1); } [B][COLOR=green]catch[/COLOR][/B][COLOR=green](SQLException e)[/COLOR] …

Member Avatar for orko
0
105
Member Avatar for aruna_k_2006

hello everyone I am using jstl tags such as c:forEach to retrieve values from Bean through servlet ...........For some page if i put this statement (xmlns="[URL]http://java.sun.com/xml/ns/j2ee[/URL]" xmlns:xsi="[URL]http://www.w3.org/2001/XMLSchema-instance[/URL]" xsi:schemaLocation="[URL]http://java.sun.com/xml/ns/j2ee[/URL] [URL]http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd[/URL]" version="2.4") in web.xml ,i get the correct ouput & for other jsp its showing ${} values as it is like ${bean.name}.......... …

Member Avatar for jwenting
0
79
Member Avatar for hegRT

Hi there Im having a problem with my database connection...other instances of nearly the same code works but I cant understand why this isn't working My class which retrieves info from the data base is [code] /* * MuscleSchedule.java * * Created on 07 May 2007, 18:03 * * To …

Member Avatar for jwenting
0
279
Member Avatar for aruna_k_2006

import java.util.*; import java.text.*; class DemoDate { public static void main(String[] args) { Date date=new Date(); SimpleDateFormat sdf; // sdf=new SimpleDateFormat("hh:mm:ss"); //System.out.println(sdf.format(date)); // sdf=new SimpleDateFormat("dd MMM yyyy hh:mm:ss zzz"); //System.out.println(sdf.format(date)); sdf=new SimpleDateFormat("E MMM dd yyyy hh:mm:ss"); System.out.println(sdf.format(date)); } } i am getting current date and time but i want to …

Member Avatar for masijade
0
84
Member Avatar for aruna_k_2006

import java.util.*; import java.text.*; class DemoDate { public static void main(String[] args) { Date date=new Date(); SimpleDateFormat sdf; // sdf=new SimpleDateFormat("hh:mm:ss"); //System.out.println(sdf.format(date)); // sdf=new SimpleDateFormat("dd MMM yyyy hh:mm:ss zzz"); //System.out.println(sdf.format(date)); sdf=new SimpleDateFormat("E MMM dd yyyy hh:mm:ss"); System.out.println(sdf.format(date)); } } i am getting current date and time but i want to …

Member Avatar for Rayhan Muktader
0
109
Member Avatar for aruna_k_2006

see my query is like this (select studentname from student where studentid='+studentid+') then i display in jsp like this st_16 //studentid .nikki //student names .nani //student names now second time when i add select student id st_17 now jsp i have display like st_16 .nikki .nani //first id's name + …

Member Avatar for aruna_k_2006
0
124
Member Avatar for aruna_k_2006

hi everyone, i am doing a project .............i have a problem 1.when i press F4 key i need to get a pop-up window and i need to search names in that poup window . For Example : All the client names start with A 2.when user types A & preees …

Member Avatar for vinod_javas
0
84
Member Avatar for aruna_k_2006

Hello every one i am working on a project ,in that i need to send a mail from client to Admin or client to client .I have seen some samples in net but they are not working main problem is javax.mail. *; is not importing Can any one help me …

Member Avatar for aruna_k_2006
0
83
Member Avatar for staneja

I am trying to acess Bean thorugh JSP using useBean tag ,but its giving me ClassNotfoundExcetption i think i am missing somewhere in structure of JSP program Can anyone tell me where shall i place this Bean class so it can be read Currently i have putted it inside WEB-INF …

Member Avatar for aruna_k_2006
0
57
Member Avatar for aruna_k_2006

hello everone, i am just improving in jsps with help of ur guidence.i excuted a jsp program using tomcat [URL]http://127.0.0.1/index.jsp[/URL] i used to get home page of tomcat but then after whenever i open [URL]http://127.0.01:8080/admin[/URL] i am getting new page called OSE(oracle Servlet Engine ) can any one tell me …

Member Avatar for jwenting
0
67
Member Avatar for aruna_k_2006

i am using tomcat 5.5,but i am unable to connect to database <HTML> <HEAD> <TITLE> </TITLE> </HEAD> <BODY bgcolor="#8D9BCA" text="#333300" marginheight="0" marginwidth="0"> <center> <!-- row 2 --> <table height="1" width="381"> <td height="1" width="373"> <P align="center">&nbsp; <P align="center">&nbsp; <p align="center"><span style="letter-spacing: 1pt"><b><font size="3" face="Bookman Old Style">Login Form for Clients</font></b></span></p> <p align="center">&nbsp;</p> …

Member Avatar for aruna_k_2006
0
91
Member Avatar for aruna_k_2006

can any one plz tell me how to execute jsp in tomcat .i am unable to execute & how to create war files to deploy

Member Avatar for jwenting
0
88