You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Sebastian Ho <se...@bii.a-star.edu.sg> on 2004/08/27 08:48:54 UTC

illegalargumentexception thrown

Hi

I have this exception but i don't remember editing my struts-config.
Where to start debugging?

Sebastian

java.lang.IllegalArgumentException: Path CreateProject.jsp does not
start with a "/" character
        at
org.apache.catalina.core.ApplicationContext.getRequestDispatcher(ApplicationContext.java:1179)
        at
org.apache.catalina.core.ApplicationContextFacade.getRequestDispatcher(ApplicationContextFacade.java:174)
        at
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1062)
        at
org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:1012)
        at
org.apache.struts.action.RequestProcessor.processValidate(RequestProcessor.java:980)
        at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:255)
        at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
        at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)	


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


Re: illegalargumentexception thrown

Posted by Sebastian Ho <se...@bii.a-star.edu.sg>.
I resolved it although I don't know when the value changed.
I added "/" before the 'input' in my action-mappings.
Can't remember was it there all along because I didn't take note and it
works for the past few days and I didn't edit the struts-config.

Sebastian


On Fri, 2004-08-27 at 14:48, Sebastian Ho wrote:
> Hi
> 
> I have this exception but i don't remember editing my struts-config.
> Where to start debugging?
> 
> Sebastian
> 
> java.lang.IllegalArgumentException: Path CreateProject.jsp does not
> start with a "/" character
>         at
> org.apache.catalina.core.ApplicationContext.getRequestDispatcher(ApplicationContext.java:1179)
>         at
> org.apache.catalina.core.ApplicationContextFacade.getRequestDispatcher(ApplicationContextFacade.java:174)
>         at
> org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1062)
>         at
> org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:1012)
>         at
> org.apache.struts.action.RequestProcessor.processValidate(RequestProcessor.java:980)
>         at
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:255)
>         at
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
>         at
> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)	
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 


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