Answer Posted / 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 |
Post New Answer View All Answers
What are different ways for servlet authentication?
What is the major difference between context parameter and context attribute?
What are sessions in servlets?
Why session tracking is needed?
What is load-on-startup in servlet?
Explain session tracking and its importance?
How to commuincate between an applet and a servlet?
List out difference between a JavaBean from a Servlet?
Which event is fired at the time of setting, getting or removing attribute from application scope?
What do you mean by mime type?
What is servlet in simple terms?
Differentiate between the print writer and servlet output stream?
What are the steps that are required to handle the multi-threading?
Elucidate servlet attributes and its scope?
How can I send user authentication information while making URL Connection?