adspace


What is the difference between session scope and request scope when saving formbean ?

Answer Posted / Gaurav Wadhawan

Session scope saves a form bean for the duration of the user's session, while request scope saves it only for the current HTTP request. This means that a form bean saved in session scope will persist until the user logs out or the session times out, while one saved in request scope will be lost when the request is processed.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is action chaining ?

1164


What is the difference between filters and interceptors ?

1311


What do you know about validation plugin ?

1028


How is declarative handling of exceptions done in struts ?

1005


What are the contents on web.xml in struts application ?

1068