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

http://issues.apache.org/bugzilla/show_bug.cgi?id=31300

Custom RequestProcessor and Custom ActionMapping impossible

           Summary: Custom RequestProcessor and Custom ActionMapping
                    impossible
           Product: Struts
           Version: Nightly Build
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Controller
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Scenario:
  A custom RequestProcessor class named "CustomRequestProcessor"
  A custom ActionMapping class named "CustomAccionMapping" 

In the method processActionPerform of CustomRequestProcessor, there is a 
parameter ActionMapping mapping
In struts 1.1 you can class cast this mapping:
CustomAccionMapping custom=(CustomActionMapping) mapping
In struts 1.2.2 and 1.2.4 you CAN'T class-cast this parameter!

That whas useful in 1.1 because you can check the parameters of the custom 
ActionMapping in every action thanks to RequestProcessor

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

Reply via email to