Hi,

You could do:

<script ...>//</script>

So the parser won't see an empty element. (and you will see your XHTML rendered in the browser)

best,
-Rob


Taimo Peelo wrote:
Hi,

i am using Jasper coming with tomcat 4.1.31 for precompilation of some jsps. It generates empty-element tags where generation of start-tag followed by immediate end-tag would be needed/preferred. For example there are includes like:

<jsp:include page="includes/scripts.jsp"/> where scripts.jsp contains the lines like <script type="text/javascript" src="lib/whatever.js"> </script>. Precompiled jsps output these in their shortened form: <script type="text/javascript" src="lib/whatever.js"/>.

How do i tune that behaviour - jasper options, jsps themselves, xml parser?

thanks,
Taimo



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

Reply via email to