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?
Explain url encoding in servlet?
What are the life cycle methods of a servlet?
What does the term localization refer to?
Why the container loads server at the application startup and how?
What is the purpose of requestdispatcher interface?
How to upload a file to the server using servlet?
A client sends requests to two different web components. Both of the components access the session. Will they end up using the same session object or different session ?
What must be implemented by all servlets?
Why is init() method is used in servlets?
How servlet is created?
What do you mean by servlet?
Why the concept of single thread model interface is used?
How we can call a jsp from the servlet?
What is servlet api used for conneting database?