当前位置: 技术问答>java相关
include 的问题!!!!!!!急(思归)(不贪) 再帮忙看看!!!
来源: 互联网 发布时间:2017-03-12
本文导语: 问题:http://expert.csdn.net/Expert/topic/1232/1232131.xml?temp=.6743738 按你们说的改啦文件名,可还是出现错误,错误提示没有改变,为什么???? 我的机子不能用 语句,别的如就可以!!! s3.jsp: s1.jsp: 错误:Error: 500 Location: /test/...
问题:http://expert.csdn.net/Expert/topic/1232/1232131.xml?temp=.6743738
按你们说的改啦文件名,可还是出现错误,错误提示没有改变,为什么????
我的机子不能用 语句,别的如就可以!!!
s3.jsp:
s1.jsp:
错误:Error: 500
Location: /test/3.jsp
Internal Servlet Error:
org.apache.jasper.JasperException: Invalid jsp:include tag
at org.apache.jasper.compiler.IncludeGenerator.(IncludeGenerator.java:95)
at org.apache.jasper.compiler.JspParseEventListener.handleInclude(JspParseEventListener.java:834)
at org.apache.jasper.compiler.DelegatingListener.handleInclude(DelegatingListener.java:185)
at org.apache.jasper.compiler.Parser$Include.accept(Parser.java:299)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1073)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1038)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1034)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:182)
at org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:413)
at org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:149)
at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:161)
at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)
at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
at java.lang.Thread.run(Thread.java:539)
按你们说的改啦文件名,可还是出现错误,错误提示没有改变,为什么????
我的机子不能用 语句,别的如就可以!!!
s3.jsp:
s1.jsp:
错误:Error: 500
Location: /test/3.jsp
Internal Servlet Error:
org.apache.jasper.JasperException: Invalid jsp:include tag
at org.apache.jasper.compiler.IncludeGenerator.(IncludeGenerator.java:95)
at org.apache.jasper.compiler.JspParseEventListener.handleInclude(JspParseEventListener.java:834)
at org.apache.jasper.compiler.DelegatingListener.handleInclude(DelegatingListener.java:185)
at org.apache.jasper.compiler.Parser$Include.accept(Parser.java:299)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1073)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1038)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1034)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:182)
at org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:413)
at org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:149)
at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:161)
at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)
at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
at java.lang.Thread.run(Thread.java:539)
|
|
是靜態引用.
為動態引用.
在動態引用的時候你要注意它的flush屬性.
上面有人講過.你先看看
再看看
怎樣?
不行的話,你要將錯誤代碼鐵出來
為動態引用.
在動態引用的時候你要注意它的flush屬性.
上面有人講過.你先看看
再看看
怎樣?
不行的話,你要將錯誤代碼鐵出來
|
你的现象我在websphere下遇到过后来我都改成这种格式就行了如: