How variables can be accessed across the sessions?
Answers were Sorted based on User's Feedback
Answer / mohan
we have to set the variable in session object.like
session.setAttribute("somename",varible name);
and then we can get this variable where we want in this
session
session.getAttribute("somename");
| Is This Answer Correct ? | 2 Yes | 0 No |
Which is better jsp or servlet?
How to maintain security in servlets?
What is the <load-on-startup> element?
can i call init() method in destroy() method of servlset. ?
What are life cycle methods of a servlet?
What is the need of session tracking in web application?
Which http method is said to be non-idempotent and idempotent?
Differentiate between the get and post method
how to make the IP address to .com
can anybody send me j2ee softwares such as tomcat,weblogic server ,netbeans
Which event is fired at the time of session creation and destroy?
How do you deal property files in servlet?