Ok. I will do that. /Jarl BugRat Mail System wrote: > ----- Sender's Comment ----- > Jarl, > > Could you verify that the behavior is fine in 3.2. > 3.2 should have an official release very soon now > and I'd advise to move to this improved version. > > -- Pierre > ----- End Of Sender's Comment --------------------------- > Report URL: <http://znutar.cortexity.com:8888/BugRatViewer/ShowReport/345> > > Report #345 Details > > Project: Tomcat > Category: Bug Report > SubCategory: New Bug Report > Class: swbug > State: closed > Priority: high > Severity: serious > Confidence: public > Environment: > Release: 3.1 > JVM Release: jdk1.3 > Operating System: NT > OS Release: 4 > Platform: NT > > Synopsis: > <jsp:include> does not handle expressions correctly > > Description: > When <jsp:include> is used with an expression evaluation > as the page attribut, e.g. > > <jsp:include page="<%=request.getAttribute("X")%>" /> > > to include a file that has either .html or .jsp as > extension, an IllegalStateException is thrown. > > I guess that with these file types the > org.apache.tomcat.servlets.DefaultServlet, that > gets called to get the file, calls some method > that pertains to the http header or somethiong > which would give this exception as include > always flushes before the new file starts. > > Here is the exception I get > > java.lang.IllegalStateException: Response has already been committed > at >org.apache.tomcat.core.HttpServletResponseFacade.sendError(HttpServletResponseFacade.java:157) > at >org.apache.tomcat.servlets.DefaultServlet.serveFile(DefaultServlet.java:325) > at org.apache.tomcat.servlets.DefaultServlet.doGet(DefaultServlet.java:218) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > at >org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503) > at >org.apache.tomcat.core.RequestDispatcherImpl.include(RequestDispatcherImpl.java:262) > at >org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:350) > at >content._0002fcontent_0002fBasicView_0002ejspBasicView_jsp_0._jspService(_0002fcontent_0002fBasicView_0002ejspBasicView_jsp_0.java:64) > at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > at >org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:174) > 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.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:163) > at >com.pipebeach.partnersite.PartnerSiteServlet.doGet(PartnerSiteServlet.java:37) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) > 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(Unknown Source) > > ------------------------------------------------------------------------ > Name: Report-345.html > Report-345.html Type: Hypertext Markup Language (text/html) > Encoding: 7bit > Description: DataSource attachment 'Report-345.html' --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
