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
Why servlet is faster than jsp?
What is the difference between using getSession(true) and getSession(false) methods?
What is new in ServletRequest interface ? (Servlet 2.4)
What is the major difference between servlet and applet?
What are the disadvantages of storing session state in cookies?
When to use doget() and when dopost()?
How do cookies work in servlets?
What is the purpose of dispatcherservlet properties?
What is preinitialization of a servlet?
Which method is called when reference variable is passed in system.net?
What if we pass negative value in load-on-startup?
What is servlet and its types?
What do you mean by filter in servlet?
What is the use of httpservletresponsewrapper?
Name the packages that work with servlet?