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 do you mean by interservlet communication?
Which method of the httpservletrequest object is used?
Define the life cycle of a servlets.
Can we fetch the attributes related to a servlet on a different servlet?
Why is servlet used?
What is servlet interface?
How the servlet is loaded?
What is URL Encoding?
What is servletconfig?
Explain the different ways for servlet authentication?
Which are the different ways you can communicate between servlets?
How can we implement a jsp page?
Explain the features are in servlet 3?
Should I override the service() method?
Explain request dispatcher and its methods.