Topic: The server encountered an internal error () that prevented it from fulfilling th

  Print this page

1.The server encountered an internal error () that prevented it from fulfilling th Copy to clipboard
Posted by: jin3shan
Posted on: 2006-09-18 21:42

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: Exception in JSP: /classic.jsp:42

39:       当前的时间是:
40:       <%-- 下面是使用表达式的例子--%>
41:       <%=getDate()%>
42:       <jsp:include page="web.xml"/>
43:     </div>
44:   </body>
45: </html>

Stacktrace:
  org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:504)
  org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:387)
  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
  org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

root cause

java.lang.IllegalStateException
  org.apache.jasper.runtime.ServletResponseWrapperInclude.getOutputStream(ServletResponseWrapperInclude.java:62)
  org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet.java:786)
  org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java:354)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
  org.apache.jsp.classic_jsp._jspService(classic_jsp.java:107)
  org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
  org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

note The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs
请问下这是个什么错误,应该怎么解决。

2.Re:The server encountered an internal error () that prevented it from fulfilling [Re: jin3shan] Copy to clipboard
Posted by: 小胖
Posted on: 2006-09-18 23:38

You try :::::<jsp:include page="web.xml" flush="true" />


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923