tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Stuart <nstu...@cs.usm.maine.edu>
Subject Forward with includes
Date Tue, 08 Jul 2003 16:00:24 GMT
Quick problem here. When ever I <%@include%> a section of the page and
try to use the <jsp:forward> tag I get the following  null pointer
exception:
java.lang.NullPointerException
        at
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
        at org.apache.jsp.index_jsp._jspService(index_jsp.java:382)
        at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
        at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
        at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
.
.
.

It is happening right on the forward part in the compiled servlet. Is
this a bug or a spec thing? If its a bug is there anyway to get around
it?
Thanks for the help!

-Nick

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message