How To maintain session ..?

Answer Posted / amita dwivedi

you can maintain session in 4 ways--
1. hidden form field eg.
<input type=hidden name=button1 value = butvalue>

2. Using cookie

3 . URL Rewriting

4 . Session Attribute - setAttrubute(key, value) and
getAttribute(key)

Is This Answer Correct ?    15 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List the various action tags used in jsp.

507


What do you mean by jstl?

535


What are the advantages of jsp over servlet?

509


Define JSP Scriptlet.

566


What is the jsp:plugin action ?

538






Hi, I've applied for HPCL(Information System Officer)& UIIC (A).Plz send me previous/sample papers and any suggestions regarding this exam.Please advice me good study material or related links. Thanks in advance shyam shyamprasad71@gmail.com

1963


How do I perform browser redirection from a jsp page?

504


What are the primary differences between the jsp custom tags and java beans?

525


How can I implement a thread-safe jsp page? What are the advantages and disadvantages of using it?

517


Where is jsp used?

510


What are the main tags in jsp?

476


How can html output be prevented from being cached?

511


What is jsp in javascript?

504


List the different scope values for the tag in jsp?

524


Explain the action?

591