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 meant by Servlet? What are the parameters of service method?
What is the functionality of actionservlet and requestprocessor?
What is servlet initializer?
How can you use a servlet to generate a plain text instead of html?
How the servlet is loaded?
How to rectify errors in java servlet while compilation?
What do you mean by annotations in servlet?
When Servlet is unloaded?
What is the main purpose of java servlets?
Define servlet mapping?
Explain mvc pattern.
Explain the war file?
What is servlet mapping?
What is the use of send redirect () method?
What is difference between jsp and servlet?