Details
Description
Action entry:
<action path="/froboz" type="foo" name="bar" scope="session"
validate="true"
input="myform.jsp"
>
<forward name="success" path="/baz.jsp"/>
</action>
The problem with this is, that input="myform.jsp" is wrong, it misses the
leading / (e.g. absolute path stuff...)
In ActionServlet.java Line 1987ff:
RequestDispatcher rd = getServletContext().getRequestDispatcher(uri);
rd.forward(request, response);
rd will be null, so the next line makes a NullPointerException.
It would be nice to get a log entry and some form of controlled error (e.g. a
send error thing or a struts generated exception)