On 5/7/07, Scott Dunbar <[EMAIL PROTECTED]> wrote:
I've been using the same code for years since the Tomcat 3.x days and an upgrade to 5.5.23 has now broken my site.
I would safely assume there have been significant changes between 3.x and 5.5.23, if I were you I would start fresh, also the instructions for 5.5.23 are different compared to older versions. Tomcat 3.x follows JSP 1.1 syntax Tomcat 5.5.x follows JSP 2.0 syntax
If I do a: <jsp:include page="/some/path/to/some.html" />
In the above page URL, what is some? Is it a folder under the root context or is /some/ the context itself? Knowing the absolute path of some.html would help in knowing whether it's under a root context or not.
I get: The requested resource (/some/path/to/some.html) is not available. It is available and this particular file hasn't been modified for a very long time. If I change it to: <jsp:include page="../some/path/to/some.html" /> which is where it is physically, I get
Most likely the path is incorrect, knowing the absolute path helps, in diagnosing the problem
Stacktrace: org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:467) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:389) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) *root cause* java.lang.NullPointerException org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:965) org.apache.jsp.index_jsp._jspService(index_jsp.java:42) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) Any thoughts?
--------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]