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



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

Answer / 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

More Struts Interview Questions

What is the forward action utilized for?

1 Answers  


What is use of i18n interceptor?

1 Answers  


Explain how to work with error tags?

1 Answers  


how can i fetch combo box value into my DAO using struts 2?

3 Answers  


What is strut web xml?

1 Answers  


What applications use apache struts?

1 Answers  


How to handle exceptions in structs?

1 Answers  


Define struts?

1 Answers  


what is tiles in struts?

6 Answers  


How do you know what to give for the "path " under in struts-config.xml ?

1 Answers  


What is front controller in struts2?

1 Answers  


How many types of action clases are there in stuts and their uses?

15 Answers   OHO, TCS, Wipro,


Categories