If we close the browser,when the specific user session is
active.Again if we open browse how to retrive it same
user??what code i have to da???

Answer Posted / sitaram

we can mention the sessiontimeout(5min) in the
web.xml.suppose user will close the browser in the middle of
work. after 2 min again open the same site.
automatically,session is active.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does it cost to replace struts?

701


How you will enable front-end validation based on the xml in validation.xml?

768


What is interceptor struts2?

733


How exceptions are handled in struts application?

764


What do you mean by ognl?

758


What is interceptor? And life cycle methods of interceptor?

754


How to build struts application in eclipse?

723


What is actionform in struts?

658


How you will display validation fail errors on jsp page?

717


Explain about struts dispatch action?

746


What is the difference between plain-validator and field-validator?

717


Can you explain struts validator framework?

761


What’s the difference between struts and espresso?

697


What do you mean by actionform?

740


How the flow of various requests happens in struts application?

740