You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/07/11 15:55:49 UTC

DO NOT REPLY [Bug 21512] New: - exception tag's path attribute accepts only web resources paths, not forward names

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

exception tag's path attribute accepts only web resources paths, not forward names

           Summary: exception tag's path attribute accepts only web
                    resources paths, not forward names
           Product: Struts
           Version: 1.1 Final
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Controller
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: jdanilewicz@mareon.com.pl


In the standard Struts configuration file the exception's path attribute may 
only point at some web resource path. From my point of view, it may be quite 
reasonable to allow assigning the logical forward names there, as it is now 
with the 'action' tag's include attribute.

I can see two solutions:

1. Augment the 'controller' tag with the new exception's path type switcher 
attribute, say 'exceptionForward', which would act in the similar way 
to 'inputForward'.

or

2. Augment the 'exception' tag with the new 'forward' attribute, which could be 
used instead of 'path', whenever one wants to use a logical forward name here.

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org