I'm trying to use jsp's in a jboss application server but whem i acces to the jsp page in the browser, there's an error:
org.apache.jasper.JasperException: No output directory: String index out of range: -1
I made the following changes in web.xml:
...
<servlet-name>consulta</servlet-name>
<jsp-file>consulta.jsp</jsp-file>
...
<servlet-mapping>
<servlet-name>consulta</servlet-name>
<url-pattern>/consulta.jsp</url-pattern>
</servlet-mapping>
and call the jsp file from a servlet, this way:
request.getRequestDispatcher("/consulta.jsp").forward(request,response);
Any idea?
Thanks