tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <funk...@joedog.org>
Subject Re: IllegalArgumentException in jsp:forward
Date Wed, 16 Jun 2004 11:22:48 GMT
Use your stack trace. Its being caused by:

Root cause:
 > servlets._0002fservlets_0002fshowClientSubmissions_0002ejspshowClientSub
 > missions_jsp_0._jspService(_0002fservlets_0002fshowClientSubmissions_000
 > 2ejspshowClientSubmissions_jsp_0.java:440)

In your work directory, look for showClientSubmissions_jsp_0.java, line 440 
and thats probably your problem.

If it works fine on new versions of tomcat, then it may have been a bug in an 
older release.

-Tim

Giri, Sandeep wrote:
> Hi!
> The following code:
> 
> <jsp:forward page="myJsp.jsp" /> 
> 
> is throwing the following exception on tomcat 4.0 (perhaps):
> 
> Included servlet error: 500
> Location: /servlets/showClientSubmissions.jsp
> Error Location: /servlets/generaltemplate.jsp
> Internal Servlet Error:
> 
> javax.servlet.ServletException
> 	at
> org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContex
> tImpl.java:459)
> 	at
> servlets._0002fservlets_0002fshowClientSubmissions_0002ejspshowClientSub
> missions_jsp_0._jspService(_0002fservlets_0002fshowClientSubmissions_000
> 2ejspshowClientSubmissions_jsp_0.java:450)
> 	at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServle
> t.java:177)
> 	at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
> 	at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at
> org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
> 	at org.apache.tomcat.core.Handler.service(Handler.java:286)
> 	at
> org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> 	at
> org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcher
> Impl.java:194)
> 	at
> org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:4
> 21)
> 	at
> servlets._0002fservlets_0002flogin_0002ejsplogin_jsp_11._jspService(_000
> 2fservlets_0002flogin_0002ejsplogin_jsp_11.java:118)
> 	at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServle
> t.java:177)
> 	at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
> 	at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at
> org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
> 	at org.apache.tomcat.core.Handler.service(Handler.java:286)
> 	at
> org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> 	at
> org.apache.tomcat.core.ContextManager.internalService(ContextManager.jav
> a:797)
> 	at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
> 	at
> org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnec
> tion(Ajp12ConnectionHandler.java:166)
> 	at
> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416
> )
> 	at
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:49
> 8)
> 	at java.lang.Thread.run(Thread.java:484)
> 
> Root cause: 
> java.lang.IllegalArgumentException
> 	at javax.servlet.http.HttpUtils.parseName(HttpUtils.java:285)
> 	at
> javax.servlet.http.HttpUtils.parseQueryString(HttpUtils.java:154)
> 	at
> org.apache.tomcat.facade.RequestDispatcherImpl.addQueryString(RequestDis
> patcherImpl.java:491)
> 	at
> org.apache.tomcat.facade.RequestDispatcherImpl.include(RequestDispatcher
> Impl.java:333)
> 	at
> org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:4
> 14)
> 	at
> servlets._0002fservlets_0002fshowClientSubmissions_0002ejspshowClientSub
> missions_jsp_0._jspService(_0002fservlets_0002fshowClientSubmissions_000
> 2ejspshowClientSubmissions_jsp_0.java:440)
> 	at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServle
> t.java:177)
> 	at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
> 	at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at
> org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
> 	at org.apache.tomcat.core.Handler.service(Handler.java:286)
> 	at
> org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> 	at
> org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcher
> Impl.java:194)
> 	at
> org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:4
> 21)
> 	at
> servlets._0002fservlets_0002flogin_0002ejsplogin_jsp_11._jspService(_000
> 2fservlets_0002flogin_0002ejsplogin_jsp_11.java:118)
> 	at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServle
> t.java:177)
> 	at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
> 	at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at
> org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
> 	at org.apache.tomcat.core.Handler.service(Handler.java:286)
> 	at
> org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> 	at
> org.apache.tomcat.core.ContextManager.internalService(ContextManager.jav
> a:797)
> 	at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
> 	at
> org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnec
> tion(Ajp12ConnectionHandler.java:166)
> 	at
> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416
> )
> 	at
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:49
> 8)
> 	at java.lang.Thread.run(Thread.java:484)
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message