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 is preinitialization of a servlet?
Describe servlet?
What is the difference between servlet and filter?
What is the use of httpservletrequestwrapper?
What is the default http method in the servlet?
What are different Authentication options available in Servlets.
What is the purpose of requestdispatcher interface?
How does Cookies work in Servlets?
Why is http protocol called as a stateless protocol?
What are its drawbacks of cgi?
Why servlet is faster than jsp?
What are the jobs performed by servlets?
What is SingleThreadModel interface?
What are the life cycle methods of the servlet?
What is servlet instance?