You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Steven Pannell <st...@zooplus.com> on 2005/04/08 14:10:52 UTC

remove comments from jsp via tomcat

Hi,

Is there anyway to configure tomcat to strip out the comment tags from the
jsp files before streaming them as html to the client browsers???

with some other application servers this is possible.

thx.
Steve.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: remove comments from jsp via tomcat

Posted by Tim Funk <fu...@joedog.org>.
Use <%-- --%> comments instead of <!-- -->

-Tim

Steven Pannell wrote:
> Hi,
> 
> Is there anyway to configure tomcat to strip out the comment tags from the
> jsp files before streaming them as html to the client browsers???
> 
> with some other application servers this is possible.
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: remove comments from jsp via tomcat

Posted by David Smith <dn...@cornell.edu>.
You could place standard java comments inside of <%   %> pairs.

--David

Steven Pannell wrote:

>Hi,
>
>Is there anyway to configure tomcat to strip out the comment tags from the
>jsp files before streaming them as html to the client browsers???
>
>with some other application servers this is possible.
>
>thx.
>Steve.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org