Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

struts 2 forms  RSS feed

 
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: 9610
37
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
Boost this thread!