tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Giri, Sandeep" <gi...@deshaw.com>
Subject IllegalArgumentException in jsp:forward
Date Tue, 15 Jun 2004 21:30:21 GMT
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)

It works fine on new versions of tomcat.



Best Regards,
Sandeep Giri
Member Technical 
D.E.Shaw India Software Pvt. Ltd. 
Hyderabad.
DISCLAIMER :"Any views expressed in this message are those of the
individual sender, except where the sender specifically states them to
be the views of D. E. Shaw India Software Private Limited., or any of
its affiliates" 



---------------------------------------------------------------------
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