jQuery in Action, 2nd edition*
The moose likes Beginning Java and the fly likes Session Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Session" Watch "Session" New topic
Author

Session

Rocko Smith
Greenhorn

Joined: Jul 12, 2005
Posts: 10
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

Joined: Mar 09, 2005
Posts: 48
Struts should handle this automatically. Input fields are not saved in session-scope. They are saved in request-scope.


SCJP, SCJD
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Session