tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 16778] New: - jsp:include doesn't work in tag file
Date Tue, 04 Feb 2003 20:50:20 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16778>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16778

jsp:include doesn't work in tag file

           Summary: jsp:include doesn't work in tag file
           Product: Tomcat 5
           Version: Nightly Build
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Jasper2
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: ajeru@vknn.org


<jsp:include.../> doesn't seem to work in tag files. I'm getting this exception
when the tag file is compiled (this is from a nightly build I downloaded a few
days ago):


org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: -1 in the jsp file: null

Generated servlet error:
    [javac] Since fork is true, ignoring compiler setting.
    [javac] Compiling 1 source file
    [javac] Since fork is true, ignoring compiler setting.
    [javac]
D:\prog\tomcat5\src\jakarta-tomcat-5\build\work\Standalone\localhost\n6\tags\org\apache\jsp\tag\web\mainframe.java:109:
include(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,java.lang.String,java.io.Writer,boolean)
in org.apache.jasper.runtime.JspRuntimeLibrary cannot be applied to
(javax.servlet.ServletRequest,javax.servlet.ServletResponse,java.lang.String,javax.servlet.jsp.JspWriter,boolean)
    [javac]       org.apache.jasper.runtime.JspRuntimeLibrary.include(request,
response, "/n6/blah.html", out, false);
    [javac]                                                  ^
    [javac] 1 error



	at
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:120)
	at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:307)
	at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:399)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:427)
	at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:572)
	at
org.apache.jasper.servlet.JspServletWrapper.loadTagFile(JspServletWrapper.java:215)
	at
org.apache.jasper.compiler.TagFileProcessor.loadTagFile(TagFileProcessor.java:446)
	at org.apache.jasper.compiler.TagFileProcessor.access$000(TagFileProcessor.java:84)
	at
org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:488)
	at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1033)
	at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:1700)
	at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:1742)
	at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:1748)
	at org.apache.jasper.compiler.Node$Root.accept(Node.java:334)
	at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:1700)
	at
org.apache.jasper.compiler.TagFileProcessor.loadTagFiles(TagFileProcessor.java:506)
	at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:262)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:426)
	at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:572)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:297)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:293)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:288)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:294)
	at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:490)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1005)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:196)
	at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:490)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1005)
	at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2608)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
	at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
	at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
	at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
	at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:490)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1005)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
	at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:490)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1005)
	at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:196)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:612)
	at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:428)
	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:623)
	at java.lang.Thread.run(Thread.java:536)

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


Mime
View raw message