tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <funk...@joedog.org>
Subject Re: Question on use of Java style comments in JSP
Date Thu, 16 Sep 2004 12:59:03 GMT
Never use // in JSP code. Also never use if conditionals without {} (as well 
as for loops).

-Tim

Antony Paul wrote:

> Hi,
>     I have problems in displaying a JSP page in Tomcat 4.1.12. A file
> containing code like this is not displayed
> <%//a%>
> aaa
> 
> Instead it is displayed properly in Tomcat 4.1.30. Whic one behaves
> correctly ?. 4.1.12 or 4.1.30
> 

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


Mime
View raw message