El mar, 06 de 06 de 2006 a las 11:21, [EMAIL PROTECTED] escribió:

> Hi 
> 
> I have an problem with my struts application where I don't know the reason. I 
> always get the following exception:
> 
> java.lang.IllegalArgumentException: Path success does not start with a "/" 
> character
>       
> org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1078)
>       
> org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263)
>       
> org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:398)
>       
> org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:318)
>       
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
>       org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
>       org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
>       javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>       javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 
> 
> The sturs-config.xml seems to be set properly:
> 
>       <action path            = "/Test"
>               type            = "TestAction"
>               name            = "TestBean"
>               scope           = "request"
>               validate        = "false"
>               input           = "/pages/test/index.jsp">
>               
>               <forward name="success"         
> path="/pages/test/test_out.jsp"/> 
>         </action>
> 
> The call of the action in the JSP seems also to be correct:
> 
> <html:form action="/Test.do">
> <html:submit property="action">Submit</html:submit>
> </html:form>
> 
> The execute Method of the actions is:
> 
> public ActionForward execute(ActionMapping arg0, ActionForm arg1, 
> HttpServletRequest arg2, HttpServletResponse arg3) throws Exception {
>               
>               return new ActionForward("success");

                    use:

                return arg0.findForward("success");





>       }
> 
> Does anyone sees the problem and can help me? Thank you very much!!!!
> 
> Markus
> 
> 
> This message is for the designated recipient only and may contain privileged, 
> proprietary, or otherwise private information.  If you have received it in 
> error, please notify the sender immediately and delete the original.  Any 
> other use of the email by you is prohibited.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-- 
;-)
____________________________________
Jorge Martin Cuervo
Analista Programador

Outsourcing Emarketplace
deFacto Powered by Standards

email <[EMAIL PROTECTED]>
voz +34 985 129 820
voz +34 660 026 384
____________________________________

Reply via email to