tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlos López <clo...@grupounika.com.mx>
Subject URGENT Problem with includinfg files
Date Sun, 21 Jan 2001 21:29:15 GMT
Hi a have a big problem when I trie to include files that are not in the same directory as
the file tryng to include.

For example y mi file structure is
/FileA
/dir /file B

If FileB tryes to include FileA it marks me the folling error

Included servlet error: 500
Location: /dir/FileB.jsp
Error Location: /dir/../FileA.jsp
Internal Servlet Error:

javax.servlet.ServletException: Response has already been committed
	at java.lang.Throwable.(Compiled Code)
	at java.lang.Exception.(Compiled Code)
	at javax.servlet.ServletException.(Compiled Code)
	at org.apache.jasper.runtime.PageContextImpl.handlePageException(Compiled Code)
	at maestros._0005f_0005f._0002fmaestros_0002f_0002e_0002e_0002fverifica_0005fusuario_0005fprivado_0002ejspverifica_0005fusuar
	at org.apache.jasper.runtime.HttpJspBase.service(Compiled Code)
	at javax.servlet.http.HttpServlet.service(Compiled Code)
	at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(Compiled Code)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(Compiled Code)
	at org.apache.jasper.servlet.JspServlet.service(Compiled Code)
	at javax.servlet.http.HttpServlet.service(Compiled Code)
	at org.apache.tomcat.core.ServletWrapper.doService(Compiled Code)
	at org.apache.tomcat.core.Handler.service(Compiled Code)
	at org.apache.tomcat.core.ServletWrapper.service(Compiled Code)
	at org.apache.tomcat.facade.RequestDispatcherImpl.include(Compiled Code)
	at org.apache.jasper.runtime.PageContextImpl.include(Compiled Code)
	at maestros._0002fmaestros_0002f_00030_0002ejsp0_jsp_1._jspService(Compiled Code)
	at org.apache.jasper.runtime.HttpJspBase.service(Compiled Code)
	at javax.servlet.http.HttpServlet.service(Compiled Code)
	at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(Compiled Code)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(Compiled Code)
	at org.apache.jasper.servlet.JspServlet.service(Compiled Code)
	at javax.servlet.http.HttpServlet.service(Compiled Code)
	at org.apache.tomcat.core.ServletWrapper.doService(Compiled Code)
	at org.apache.tomcat.core.Handler.service(Compiled Code)
	at org.apache.tomcat.core.ServletWrapper.service(Compiled Code)
	at org.apache.tomcat.core.ContextManager.internalService(Compiled Code)
	at org.apache.tomcat.core.ContextManager.service(Compiled Code)
	at org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processConnection(Compiled
Code)
	at org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled Code)
	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code)
	at java.lang.Thread.run(Compiled Code)

Root cause: 
java.lang.IllegalStateException: Response has already been committed
	at java.lang.Throwable.(Compiled Code)
	at java.lang.Exception.(Compiled Code)
	at java.lang.RuntimeException.(Compiled Code)
	at java.lang.IllegalStateException.(Compiled Code)
	at org.apache.tomcat.facade.HttpServletResponseFacade.sendError(Compiled Code)
	at maestros._0005f_0005f._0002fmaestros_0002f_0002e_0002e_0002fverifica_0005fusuario_0005fprivado_0002ejspverifica_0005fusuar
	at org.apache.jasper.runtime.HttpJspBase.service(Compiled Code)
	at javax.servlet.http.HttpServlet.service(Compiled Code)
	at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(Compiled Code)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(Compiled Code)
	at org.apache.jasper.servlet.JspServlet.service(Compiled Code)
	at javax.servlet.http.HttpServlet.service(Compiled Code)
	at org.apache.tomcat.core.ServletWrapper.doService(Compiled Code)
	at org.apache.tomcat.core.Handler.service(Compiled Code)
	at org.apache.tomcat.core.ServletWrapper.service(Compiled Code)
	at org.apache.tomcat.facade.RequestDispatcherImpl.include(Compiled Code)
	at org.apache.jasper.runtime.PageContextImpl.include(Compiled Code)
	at maestros._0002fmaestros_0002f_00030_0002ejsp0_jsp_1._jspService(Compiled Code)
	at org.apache.jasper.runtime.HttpJspBase.service(Compiled Code)
	at javax.servlet.http.HttpServlet.service(Compiled Code)
	at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(Compiled Code)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(Compiled Code)
	at org.apache.jasper.servlet.JspServlet.service(Compiled Code)
	at javax.servlet.http.HttpServlet.service(Compiled Code)
	at org.apache.tomcat.core.ServletWrapper.doService(Compiled Code)
	at org.apache.tomcat.core.Handler.service(Compiled Code)
	at org.apache.tomcat.core.ServletWrapper.service(Compiled Code)
	at org.apache.tomcat.core.ContextManager.internalService(Compiled Code)
	at org.apache.tomcat.core.ContextManager.service(Compiled Code)
	at org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processConnection(Compiled
Code)
	at org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled Code)
	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code)
	at java.lang.Thread.run(Compiled Code)



Mime
View raw message