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=16543>.
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=16543

IncludeAction should return an ActionForward.

           Summary: IncludeAction should return an ActionForward.
           Product: Struts
           Version: 1.1 Beta 3
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Standard Actions
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The IncludeAction has the same problem that the ForwardAction used to have ( 
defect 12309 ). The IncludeAction directly calls the request dispatcher, 
returns a null ActionForward which bypasses the processing of the 
RequestProcessor. Unfortunately, this problem is not as easy to fix as the 
ForwardAction. While the RequestProcessor does support includes versus forwards 
for ActionMappings, there is no way for an ActionForward to request an include.

The only suggestion that comes to mind is to add an attribute to the 
ActionForward to request an include, similar to the redirect attribute. The 
IncludeAction can then have the same implementation as the ForwardAction, but 
set an include property on the ActionForward instead. This change would also 
require a new attribute to the struts-config_1_1.dtd.

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

Reply via email to