Advertisement

1 - 10 of 40 containing alltags:("httpsession") (0 seconds)
Hi all, I have 2 servlets: one servlet sets an attribute like so: req.setAttribute("Password", password); Another servlet gets this attribute from the first servlet when it has been c...
Zones: Java, ServletsDate Answered: 06/07/2001 Grade: A Views: 4
Hello, I have some question about sessions. How can I track session events when different servlets are fired off? How can I set a sessionid attribute and refer to it when they move to other page...
Zones: JavaDate Answered: 12/03/2001 Grade: A Views: 0
I am having a problem getting a Vector from a session. What I'm trying to do is this:      Convert many objects as type Student to strings with toString()      Add each Student string to the vec...
Zones: JavaDate Answered: 12/23/2002 Grade: B Views: 0
Hello,         When we say : List list = (List) session.getAttribute("list");    we get a reference to the list object in the session .. is that right ?? If its correct then after the...
Zones: JavaDate Answered: 10/09/2005 Grade: A Views: 0
How much initial memory a session varible occupies.i.e;When we create a session as follows ....   HttpSession session=response.getSession(true); ....without any data in the session how much mem...
Zones: JavaDate Answered: 06/12/2000 Grade: B Views: 4
Hi, When a web application needs to track users over several pages, it can do this using the Java Servlet APIs HttpSession class.  Would it be faster to have servlets look up user information in...
Zones: Java, ServletsDate Answered: 02/04/2002 Grade: B Views: 0
I am trying to run a bea example, The first page in the application is application.jsp, this page sets several attributes to the session: <jsp:directive.page import="workflow.example.*"/> <jsp...
Zones: Java, J2EE, New To JavaDate Answered: 05/31/2003 Grade: B Views: 42
How to i get my HttpSession in Tomcat 3.3 as when i use tomcat 2.1 last time. This code HttpSession sess = req.getSession(false); will return a session..but now it will return null. is there any...
Zones: Apache Web ServerDate Answered: 02/07/2002 Grade: B Views: 0
Hi all! I have tried to retrieve session object (set in another servlet) in a servlet inside doPost method. But all I get is null, so I ask is it normal behavior or an error? The code is simple:...
Zones: JavaDate Answered: 05/09/2003 Grade: B Views: 0
I have a need to write my own class that implements HttpSession so that I can execute some necessary code in invalidate() before the session is actually invalidated.  How can I do this?  If I wrote...
Zones: JavaDate Answered: 12/22/2003 Grade: A Views: 0