Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Session

 
Rocko Smith
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I created a jsp. Do I need to do a setattribute for each i/p field so when I reference these fields in the action class module, I can retrieve the field contents by using a getParameter or does struts automatically save them into the session for me? As you can see, I'm using struts.
 
Yevgeniy Treyvus
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Struts should handle this automatically. Input fields are not saved in session-scope. They are saved in request-scope.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic