Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

struts 2 forms

 
Rajiv Chelsea
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In struts 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?
 
Ankit Garg
Sheriff
Posts: 9521
22
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Data from different requests?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic