In the <action> tag, the attribute "scope" is either "session" or "request" ? what is the significance of both? when do we use "session" and when do we use "request" ?
It really depends, if you put the scope as request the ActionForm with user entered values will in request scope, if you specify it be in session the ActionForm will be in session scope. The best example where you use session is when are developing a "Wizard" where a user can go back and forward to change the entered values.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.