Using Tomcat and Xalan, why do I get the exception: java.lang.IllegalStateException: Response has already been committed when trying to pass “out” to the XSLTProcessor as a XSLTResultTarget?
I need to find out how to transform a xml document and save the results using JSP. The JSP will request the source documents of the xml and xsl from a form (ie file already exist on the server) and the JSP would save the results to a file on the server. I can achieve this though a GUI and applying the templates and saving the results to a file bit the same code doesn’t work with the JSP. I am using the Java API for xml woth Xalan XSLT processor.
Related Questions
- Using Tomcat and Xalan, why do I get the exception: java.lang.IllegalStateException: Response has already been committed when trying to pass "out" to the XSLTProcessor as a XSLTResultTarget?
- I have an "agent receives" event/request/response test that is still listed as incomplete but Im not receiving the event/request/response to pass the test. Whats wrong?
- Why am I getting the exception java.lang.IllegalStateException: No context available outside of the request service lifecycle.?