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
What is a page directive?
Which language is used to write servlets and jsp?
What are implicit objects in jsp?
Explain the advantages in jsp?
Which directive is used in jsp custom tag?
What are scripting elements?
What is a declaration?
Explain jsp:plugin action?
How can I maintain session in JSP Page in the bases of user name and password:
What is tld file?
What is meant by jsp?
How is jsp include directive different from jsp include action. ?
What is the purpose of
What is jsp and its architecture?
Can we override the jspinit(), _jspservice() and jspdestroy() methods?