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

Hi friends,
In the request scope the ActionForm is available only the end of the request/response. When response has been received by the client, than you can not access more data. If you want to keep the form data around for longer, than a single request you can have ActonForm in session scope. By default the actionform is in session scope until unless you define scope.
when the scope is request,the values of formbean would be available for the current request. when the scope is session,the values of formbean would be available throughout the session.
Thanks.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.