Re: Exception

2001-04-08 Thread OK Prakasan
u need to create errorpage.jsp with the page directive isErrorPage=true Franck Samson [EMAIL PROTECTED]@java.sun.com on 04/09/2001 11:04:46 AM Please respond to A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] Sent by: A mailing list about Java

Re: Getting the IP of server

2001-04-06 Thread OK Prakasan
Hi Hamid, u can use request.getRemoteHost() and request.getServerName() to get the Server Name and Server IP Hamid [EMAIL PROTECTED]@java.sun.com on 04/07/2001 10:33:33 AM Please respond to A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] Sent

Re: adding row dinamically in tables

2001-04-05 Thread OK Prakasan
u can use server side scripting instead of javascript. Use a hidden field variable indicating the current number of rows. on clicking the ad row button resubmit the page . the code is like this % int Namecount =0; String[] values = new String[100]; if (request.getParameter("Namecount") ==

Caching a JSP Page

2001-03-20 Thread OK Prakasan
Hi All, I would like to prevent the browser from caching a JSP page. Please give me a solution to achieve this. Thanks in Advance Prakasan === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".

Re: Session listener redirect

2001-03-06 Thread OK Prakasan
When the user successfully logs in u can put a value on sesion object. for e,g session.putValue("UserId",id of user) then on each page first check whether session.getValue("UserId") is null and if null redirect user to login page. Ron Quartel [EMAIL PROTECTED]@java.sun.com on 03/06/2001

Re: how to find out from which jsp i have come from ?

2001-03-06 Thread OK Prakasan
u can use request.getPathInfo( ) or request.getPathTranslated( ) ramanathanp [EMAIL PROTECTED]@java.sun.com on 03/07/2001 09:57:39 AM Please respond to A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] Sent by: A mailing list about Java

Session Maangement.

2001-02-27 Thread OK Prakasan
Hi All, I want to perform some operations when the user ends. How is this possible. Thanks in Advance, Prakasan === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL

Re: Session Maangement.

2001-02-27 Thread OK Prakasan
and reference [mailto:[EMAIL PROTECTED]]On Behalf Of OK Prakasan Sent: dinsdag 27 februari 2001 10:49 To: [EMAIL PROTECTED] Subject: Session Maangement. Hi All, I want to perform some operations when the user ends. How is this possible. Thanks in Advance, Prakasan