| Author |
scope= "request" in structs-config.xml
|
Sreejith kayappuram
Ranch Hand
Joined: Jun 24, 2008
Posts: 35
|
|
hi, One of my jsp form's text field shows previously entered values even when i reload the form after loading other jsps. I have overrided reset method of form bean and hence each time i load the jsp, the form bean contains only null values ( like name field will be set to null in reset method) but the jsp's corresponding text field shows previouly entered values... it got corrected when i change <action path="/prepareuser" type="com.security.ManageUserAction" name="UserSearchForm" validate="false" scope="request"> <forward name="success" path="usersearch.do" /> </action> by removing the scope="request" entry <action path="/prepareuser" type="com.security.ManageUserAction" name="UserSearchForm" validate="false" > <forward name="success" path="usersearch.do" /> </action> could any body please tell me whats the purpose of scope= "request" in structs-config.xml
|
Thanks
Sreejith
|
 |
 |
|
|
subject: scope= "request" in structs-config.xml
|
|
|