I was a simple struts application and deploying the same on JBoss. On running the application, it crashes on an action forward with the following Exception.
java.lang.IllegalArgumentException: Path failure does not start with a "/" character
My Action Mapping is as below
<action input="Login.jsp" name="LoginForm"
<forward name="failure" path="/error.jsp" />
<forward name="success" path="/index.jsp" />
Could someone please tell me where the error is. The 3 JSPs are in the same base directory.
it should be 'input="/Login.jsp"' to let the action know, where to start with a relative path.
Qualify the path with '/' in Login.jsp and try