Re: Help Required!!!

1999-10-18 Thread I Khaitan
Make sure that the class Session is in the class path...Is the method signature processRequest() correct ? Just a thought. Try writing a different method in your bean class "Session" , say myTrialMethod (String inValue ) { System.out.println("setMyTrialMethod = " + inValue);} and call it as < js

Re: Forcing a HTML Page Refresh from Servlet->JSP

1999-10-18 Thread I Khaitan
Use both, the Headers & HTML META tags, it would work. Works fine with me. Best of Luck - khaitan - Original Message - From: David Wall <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 18, 1999 11:41 AM Subject: Re: Forcing a HTML Page Refresh from Servlet->JSP > > > >

Re: Pre compiling jsp pages that have an include directive

1999-10-14 Thread I Khaitan
If you modify the included page and do not modify the including page then you'll have problems. When a time stamp check is made it looks for the time stamp of the including page and not that of the included page. So, if you access the same inclided page directly then it would work fine but things

Re: sessions !!!

1999-09-30 Thread I Khaitan
Use this code (from my earlier posting). - khaitan 1. create a session bean object as per the following code in some file x.jsp <.. set the login/password properties of the bean..> 2. import the login session in say y.jsp <%-- if bean not in session the forward request to x.jsp to create t

Re: session timeout...need to login (sometimes) and get back to same page

1999-09-29 Thread I Khaitan
One way to do it is to use two beans, first for the login and scond for your info page. your login page is the start page where you would create the bean instance and make it a session scoped. Import this bean instance in your second page, if it is not in session then send it to the login jsp page

Re: Session Invalidation - IllegalStateException??!!

1999-09-28 Thread I Khaitan
In all probability you are trying ti access the session bean properties without importing/instantiating the session bean, If you are using the session in you homepage make sure you instantiate(= create) the session, and in later pages keep importing it.   Hope this helps   - khaitan -

Re: displaying the contents of a rs

1999-09-28 Thread I Khaitan
You can access the individual fields in the resultset by calling resultset's get mthods eg. getString( ). getString method is overloaded and takes column name(String) as well as column index(int). There are other methods as well for some data types. Hope this helps -khaitan - Original Messa

Re: Creating a session object

1999-09-28 Thread I Khaitan
1. create a session bean object as per the following code in some file x.jsp <.. set say login/password values ..> 2. import the login session in say y.jsp <%-- if bean not in session the forward request to x.jsp to create the session --%> - Original Message - From: Nanduri Amarnat

Re: Session Expiring and Null Pointer

1999-09-28 Thread I Khaitan
Here is a sample code. Dosomething.jsp <%-- Import Login info from session --%> <%-- If Login Info doesn't already exist in session, call login page --%> First, try to get the bean from the session, if it doesnt exist then forward the request to the page which creates the