File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes JBoss 6 jsp forward problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBoss 6 jsp forward problem" Watch "JBoss 6 jsp forward problem" New topic
Author

JBoss 6 jsp forward problem

Adrien Ruffie
Ranch Hand

Joined: Jan 14, 2009
Posts: 90
Hello all,

I have the following error with JBoss 6 NEO:

2012-03-27 09:11:15,359 INFO [STDOUT] (http-127.0.0.1-8080-1) 2012-03-27 09:11:15,343 190351 [http-127.0.0.1-8080-1] ERROR com.myapplication.controller.ControllerServlet - Error in forwarding page [/index.jsp]

2012-03-27 09:11:15,360 INFO [STDOUT] (http-127.0.0.1-8080-1) org.apache.jasper.JasperException: An exception occurred processing JSP page /index.jsp at line 2
2012-03-27 09:11:15,360 INFO [STDOUT] (http-127.0.0.1-8080-1)
2012-03-27 09:11:15,360 INFO [STDOUT] (http-127.0.0.1-8080-1) 1: <%@ page language="java"%>
2012-03-27 09:11:15,360 INFO [STDOUT] (http-127.0.0.1-8080-1) 2: <jsp:forward page="/home.fl"/>
2012-03-27 09:11:15,360 INFO [STDOUT] (http-127.0.0.1-8080-1)
2012-03-27 09:11:15,361 INFO [STDOUT] (http-127.0.0.1-8080-1)
2012-03-27 09:11:15,361 INFO [STDOUT] (http-127.0.0.1-8080-1) Stacktrace:

2012-03-27 09:11:15,361 INFO [STDOUT] (http-127.0.0.1-8080-1) at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:498)

2012-03-27 09:11:15,361 INFO [STDOUT] (http-127.0.0.1-8080-1) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)

2012-03-27 09:11:15,361 INFO [STDOUT] (http-127.0.0.1-8080-1) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326)

2012-03-27 09:11:15,361 INFO [STDOUT] (http-127.0.0.1-8080-1) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)

2012-03-27 09:11:15,361 INFO [STDOUT] (http-127.0.0.1-8080-1) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)



My index.jsp is just following 2 code line:

<%@ page language="java"%>
<jsp:forward page="/home.fl"/>

Do you know if jsp :forward work fine with JBoss 6 AS ? Is there a workaround or procedure existe ?
Thank you very much

Best regards,

SCJP 5, SCDJWS 5
http://adrien-ruffie.blogspot.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JBoss 6 jsp forward problem