我想将CMS52项目中的header.jsp页面包含到Services_IVR.index.jsp文件中 我使用了以下方法,但它显示异常。请帮助我如何包含来自另一个对象的jsp文件。
在此之后我得到了例外 org.apache.jasper.JasperException:javax.servlet.ServletException:File" /usr/local/apache-tomcat-7.0.56/webapps/CMS52/header.jsp"未找到 org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:522) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:398) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267) javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
根本原因
javax.servlet.ServletException:File" /usr/local/apache-tomcat-7.0.56/webapps/CMS52/header.jsp"未找到 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:319) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968) org.apache.jsp.header_jsp._jspService(header_jsp.java:55) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267) javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
如何解决这个问题?