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 2005/11/26 11:33:17 UTC

DO NOT REPLY [Bug 37647] New: -

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=37647>.
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=37647

           Summary: <jsp:include �.><jsp:include>
           Product: Tomcat 5
           Version: 5.0.28
          Platform: Sun
        OS/Version: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Unknown
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: river_ppp@163.com


In JSP files ,if it only include "<jsp:include �.><jsp:include> ",but no 
<jsp:param>;
It will error, We resolved it like this"<jsp:include ��/>"

like this:

org.apache.jasper.JasperException: /officeWork/EPubCenter/Document/DocumentList.
jsp(72,8) 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:409)
	org.apache.jasper.compiler.ErrorDispatcher.jspError
(ErrorDispatcher.java:90)
	org.apache.jasper.compiler.Parser.parseParam(Parser.java:852)
	org.apache.jasper.compiler.Parser.parseBody(Parser.java:1800)
	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:1559)
	org.apache.jasper.compiler.Parser.parse(Parser.java:126)
	org.apache.jasper.compiler.ParserController.doParse
(ParserController.java:220)
	org.apache.jasper.compiler.ParserController.parse
(ParserController.java:101)
	org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:203)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:470)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
	org.apache.jasper.JspCompilationContext.compile
(JspCompilationContext.java:511)
	org.apache.jasper.servlet.JspServletWrapper.service
(JspServletWrapper.java:295)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

-- 
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