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
What is servlet instance?
How do you load an image in a Servlet?
Explain the architechure of a servlet?
When servlet object is created?
What is the life-cycle of servlets?
What do you mean by default initialization in java servlet?
Explain the differences between jsp and servlet.
List out difference between a JavaBean from a Servlet?
Differentiate between get and post?
What's the architecture of a servlet package?
How to upload a file to the server using servlet?
What is a server side include (ssi)
How we can create war file in 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 ?
Difference between get and post in java servlets?