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

Can you disable the caching on the back button of a particular browser?

511


What is a jsp file?

489


What are the steps involved in reading data from a form using jsp?

720


Explain how you understand the action tag and jsp action elements.

549


What is jstl?

533






How to send data from one page to another in jsp?

496


How do I use a scriptlet to initialize a newly instantiated bean?

552


What are the different scope values for the tag?

482


Can we define a class inside a jsp page?

482


Explain static method?

561


What is jstl (jsp standard tag library)?

530


What's the difference between javabeans and taglib directives?

540


How do I view jsp files in my browser?

511


What is jsp life cycle?

505


What is pagecontext jsp?

525