Answer Posted / sachin s
You can also use HtppSessio, create a new session variable
and set the value and get the same value in HTML. However
this should be avoided if you want to pass to many
parameters.
Also,remember that Session variable should be flushed off
after the use, thats a good practise.
Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
If servlet receives multiple requests, how many objects will it create?
What is getservletcontext?
What is java servlet?
What are the important functions of filters?
How do servlets work?
What is a servlet-to-servlet communcation?
Can we fetch the attributes related to a servlet on a different servlet?
What are the phases of servlet life cycle?
Which httpsession object is used to view and manipulate information about a session?
List out the difference between ServletConfig and ServletContext?
What is the difference between portlet and servlet?
What is session tracking?
Why is http protocol called as a stateless protocol?
What is the use of servlet wrapper classes?
How to get the actual path of servlet in server?