Is there a known issue with org.apache.struts.actions.ForwardAction not prepending the 
module path to the value of "parameter" in Struts 1.1b3?

My original struts-config.xml includes:

<action path="/documentdiscussion3" type="org.apache.struts.actions.ForwardAction" 
parameter="/a/threads/documentdiscussion3.jspx" />

Which, when called, results in:

HTTP Status 404 - /ap/a/threads/documentdiscussion3.jspx

--------------------------------------------------------------------------------

type Status report

message /ap/a/threads/documentdiscussion3.jspx

description The requested resource (/ap/a/threads/documentdiscussion3.jspx) is not 
available.

When changed to:

<action path="/documentdiscussion3" type="appian.ap2.a.threads.action.SuccessForward">
  <forward name="success" path="/a/threads/documentdiscussion3.jspx" />
</action>

Where SuccessForward is:

public class SuccessForward extends Action {
  public ActionForward execute(ActionMapping mapping,ActionForm 
form,HttpServletRequest request,HttpServletResponse response) 
  throws Exception {
    return mapping.findForward("success");
  }
}

The results are:

HTTP Status 404 - /ap/dt/a/threads/documentdiscussion3.jspx

--------------------------------------------------------------------------------

type Status report

message /ap/dt/a/threads/documentdiscussion3.jspx

description The requested resource (/ap/dt/a/threads/documentdiscussion3.jspx) is not 
available.

The application is "ap," the module is "dt", the second path is what I want, but I 
want it without adding another class in addition to ForwardAction. The ".jspx" is an 
intentional error introduced to get tomcat to throw a 404 and display the path when 
otherwise the request would be correct. The point of interest is why "dt" shows up in 
one and not the other.

Please let me know if this has already been addressed in the nightly build or, if not, 
when it will be. Assuming that there is not a problem between chair and keyboard on my 
end. :)

Thanks,

Derek Richardson

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

Reply via email to