No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
15 Posted Topics
Re: Can u send SMS code so that i can help up [QUOTE=kiwicas;212181]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 … | |
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 | |
[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] [/COLOR][COLOR=green]|[/COLOR][COLOR=green] [/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] [/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] … | |
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] … | |
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}.......... … | |
Re: hey just a second what is the connection u r creating ?????????is it Sql ,......... u need 2 specify . | |
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 … | |
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 … | |
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 + … | |
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 … | |
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 … | |
Re: R u Using MVC Architecture? One thing U do create a package in bean package Student; Now If U have Servlet write there Student.BeanName b=new Student.BeanName b(); b.set(); b.get(); RequestDispatcher rd=request.getRequestDispatcher("NewClient.jsp"); rd.forward(request,response); now in jsp u can use them bye If u have problem just Reply me. | |
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 … | |
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"> <P align="center"> <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"> </p> … | |
can any one plz tell me how to execute jsp in tomcat .i am unable to execute & how to create war files to deploy |
The End.