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
Is tomcat a servlet container?
Tell the new features added in servletrequest interface i.e. Servlet 2.4
What are the different methods of session management in servlets?
Difference between java beans & servlets?
Explain the different ways for servlet authentication?
What are the common methods that are included in the http servlet class?
What is the difference between the servlets and cgi programs?
Servlet is pure java object or not?
Explain how does JSP handle run-time exceptions?
Which method is called when reference variable is passed in system.net?
What are the different types of servlets?
How to find whether a parameter exists in the request object?
What is the use of servletconfig interface?
Write a command to get actual path of a servlet to the server?
Explain the working of service() method of a servlet.