Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

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?

0
Posted

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?

0

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

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123