Hi,

I am currently using Caucho's Resin as my servlet container, but now starting to check out other containers. I would like to ask a quick question before jumping into Tomcat. (I have to do quite a bit of configuration changes as I unfortunately used some shortcuts that resin allows)

First some background:

We have a CMS that pregenerates JSPs using XSL and XML. To keep things clean I output to the XML syntax. The JSP renders to well-formed HTML. The JSP I output also includes a processing instruction that instructs the JSP to do an XSL transformation (to XHTML or HTML) after it renders itself.

<jsp:directive.page contentType="x-application/xsl"/>

The problem is that I cannot have another processing instruction that tells it to render truly well-formed HTML, the main problem being that it expands entities before the XSL transformation (a resin bug). So I need to do an ugly hack in the source XML. Where I would like something like:

<a href="page.jsp?a=b&amp;c=d">boo</a>

I have to do:

<a href="page.jsp?a=b&amp;amp;c=d">boo</a>

. My question is, if I use Tomcat with the above scenario, will the JSP render truly well-formed XML for the final transformation?

Thanks for any information,
-Rob


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to