DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23140>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23140

Can get the session in the ActionForm constructor

           Summary: Can get the session in the ActionForm constructor
           Product: Struts
           Version: 1.1 Final
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Controller
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


There are many times that session data is needed to first initialize the 
values of an ActionForm. At present, this requires that an Action is called 
that initializes the ActionForm that then forwards on to the jsp.

If it would be possible to get the session from an ActionForm, this would 
eliminate the need in many cases to have two Actions instead of one.

An alternative would be that after the ActionForm constructor (with no 
parameters) is called, it calls a method passing the session before the jsp 
page is displayed.

thanks - dave

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to