Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JBoss 6 jsp forward problem

 
Adrien Ruffie
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic