On Thu, 14 Feb 2002, Reynir H�bner wrote:

> Date: Thu, 14 Feb 2002 17:27:38 -0000
> From: Reynir H�bner <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: Tomcat Users List <[EMAIL PROTECTED]>
> Subject: J2EE and Tomcat
>
> hey guys..
>
> On that matter (J2EE & Tomcat), I've noticed one "small" difference
> between Tomcat and the jsp spec.
> Tomcat renders jsp-code that's between <!-- -->, the HTML comment tag.
> this means that Javascript especially can be commented out of the HTML
> for old browsers while some of the javascript code is generated by
> jsp-code.
>
> In other J2EE servers I've looked at like orion and websphere they do
> not render jsp-code with in HTML comment tags.
>
> why is this different in tomcat from others and the spec ? Or am I not
> understanding this correctly ?
>
> Well this is not a big problem (not for me at least), but I assume many
> people are using tomcat as a developement tool, and if they are
> developing something accordingly to how Tomcat handles it, they might
> face a problem when migrating to other J2EE servers... but then again,
> they haven't been developing according to the spec...
>
> ... so, why break the spec ?
>

Can you provide an example of what you mean by this?  Tomcat's JSP
compiler renders HTML comments only if you include them in the original
JSP page (or you use a custom tag that creates them) -- it doesn't add or
remove any by itself.

> thanx
> [EMAIL PROTECTED]
>

Craig McClanahan


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to