How To maintain session ..?
Answers were Sorted based on User's Feedback
Answer / 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 |
What is jsp and why do we need it?
How do you comment out in jsp?
How many jsp scripting elements are there and what are they?
How jsp is executed by web server?
What is jsp expression?
How to restrict page errors display in a JSP page?
Explain translation phase.
How do I set password expire time period?
Differentiate between response.sendredirect(url) and <jsp:forward page = …> ?
How to set a cookie in JSP?
What are the different scope values for the jsp objects?
What is jstl jar?