You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2006/12/15 15:02:10 UTC

DO NOT REPLY [Bug 41180] - I have fix this by edit org.apache.jasper.compiler.Parser.java

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41180>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41180





------- Additional Comments From zhangzel@gmail.com  2006-12-15 06:02 -------
In jsp file ,when write <jsp:include ...>  </jsp:include>, the jasper will 
throw an Exception:

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

exception 

org.apache.jasper.JasperException: /jsp1.jsp(2,1) Expecting "jsp:param" 
standard action with "name" and "value" attributes
	org.apache.jasper.compiler.DefaultErrorHandler.jspError
(DefaultErrorHandler.java:39)
	org.apache.jasper.compiler.ErrorDispatcher.dispatch
(ErrorDispatcher.java:405)
	org.apache.jasper.compiler.ErrorDispatcher.jspError
(ErrorDispatcher.java:86)
	org.apache.jasper.compiler.Parser.parseParam(Parser.java:852)
	org.apache.jasper.compiler.Parser.parseBody(Parser.java:1804)
	org.apache.jasper.compiler.Parser.parseOptionalBody(Parser.java:1060)
	org.apache.jasper.compiler.Parser.parseInclude(Parser.java:888)
	org.apache.jasper.compiler.Parser.parseStandardAction(Parser.java:1211)
	org.apache.jasper.compiler.Parser.parseElements(Parser.java:1563)
	org.apache.jasper.compiler.Parser.parse(Parser.java:126)
	org.apache.jasper.compiler.ParserController.doParse
(ParserController.java:211)
	org.apache.jasper.compiler.ParserController.parse
(ParserController.java:100)
	org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
	org.apache.jasper.JspCompilationContext.compile
(JspCompilationContext.java:556)
	org.apache.jasper.servlet.JspServletWrapper.service
(JspServletWrapper.java:293)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
	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.9 logs.
 

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org