A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
struts 2 forms
Joined: Jun 15, 2010
Sep 27, 2010 21:45:43
2, how do we ensure that data from different requests is not mixed?
In struts 1, there was a reset method in ActionForm which ensured this.
Similarly what does Struts 2 have to ensure the same?
Joined: Aug 03, 2008
Sep 28, 2010 00:24:00
Struts 2 actions are not reused, each request is served by a different instance of the action class so there is no chance of requests getting mixed up...
SCJP 6 | SCWCD 5 |
Javaranch SCJP FAQ
Joined: Sep 29, 2008
Sep 28, 2010 05:50:36
Data from different requests?
I agree. Here's the link:
subject: struts 2 forms
Struts Issue - Repopulating a Form Bean
enctype="multipart/form-data" request.getParameter() issue
To: John Carnell, Re: Method Overrides
Doubts ...understanding the struts architecture :(
First struts app help! Drop-down lists
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015