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=18469>. 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=18469 Unable to forward from a template. Summary: Unable to forward from a template. Product: Struts Version: 1.1 RC1 Platform: Sun OS/Version: Solaris Status: NEW Severity: Blocker Priority: Other Component: Custom Tags AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Called JSP (requestCreateMain99.jsp) ....... <%@ taglib uri="/WEB-INF/tld/struts-template.tld" prefix="template" %> <template:insert template="/one-pane-template.jsp"> <template:put name="main" content="/requestCreate1.do" /> </template:insert> Throws exception..... javax.servlet.jsp.JspException: Cannot forward because the response has already been committed at org.apache.struts.taglib.template.InsertTag.doEndTag (InsertTag.java:164) at requestCreateMain99_8._jspService(requestCreateMain99_8.java:156) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119) at javax.servlet.http.HttpServlet.service(HttpServlet.java) at org.apache.tomcat.facade.ServletHandler.doService (ServletHandler.java:484) at org.apache.tomcat.core.Handler.invoke(Handler.java:322) at org.apache.tomcat.core.Handler.service(Handler.java:235) at org.apache.tomcat.facade.ServletHandler.service (ServletHandler.java:432) at org.apache.tomcat.core.ContextManager.internalService (ContextManager.java:917) at org.apache.tomcat.core.ContextManager.service (ContextManager.java:833) at org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection (Ajp13Interceptor.java:213) at org.apache.tomcat.util.net.TcpWorkerThread.runIt (PoolTcpEndpoint.java:477) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run (ThreadPool.java:519) at java.lang.Thread.run(Thread.java:484) one-pane-template.jsp ....... <%@ taglib uri="urn:org.apache.struts:struts-template.tld" prefix="template" %> <html> <head /> <body> <template:get name="main"/> </body> </html> struts-config.xml ...... <action path="/requestCreate1" type="ProductListAction"> <forward name="success" path="/requestCreate1.jsp" /> </action> ProductListAction.java........... public class ProductListAction extends Action { public ActionForward execute( ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { System.err.println("ProductListAction - start"); System.err.println("ProductListAction - end"); return mapping.findForward("success"); } } (requestCreate1.do) ProductListAction is called successfully. execute() completes ok, requestCreate1.jsp is never reached. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
