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

Multiple Modules : Action Chaining with ForwardAction gives 404 error

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From [EMAIL PROTECTED]  2003-07-29 16:45 -------
I'm assuming that your add.jsp and edit.jsp files are in the /admin directory.

The problem is with your configuration. ForwardAction requires a CONTEXT
relative path which, in this case would be: 

 <action path="/showEdit" 
         type="org.apache.struts.actions.ForwardAction"
         parameter="/admin/edit.jsp">
 </action>

(Note also, you had your parameter in a separate tag, but it should be an
attribute of the action tag. Not sure if that's what you actually had in your
source or it's just a typo in the bug report, but it wouldn't help!)

The reason it worked when you used your own custom action is that by default
ActionFoward paths are MODULE relative, so your configuration entry "/edit.jsp"
would be translated by the RequestProcessor to a context relative path of
"/admin/edit.jsp"

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

Reply via email to