tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jarl Skogsholm <j...@lamarido.net>
Subject Re: Question on use of Java style comments in JSP
Date Thu, 16 Sep 2004 13:22:15 GMT
This displays properly if versions 5+.
There is nothing wrong with using // in jsp files,  jsp's are converted 
into valid java code. Are you getting error messages?  does it produce any 
code at all?


On Thu, 16 Sep 2004 18:42:44 +0530, Antony Paul <antonypaul24@hotmail.com> 
wrote:

> Do you mean that none of the Tomcat versions behave properly ?.
> I had used it at lot of JSP pages. It is for the first time I am having a
> problem.
>
> rgds
> Antony Paul
>
> ----- Original Message -----
> From: "Tim Funk" <funkman@joedog.org>
> Sent: Thursday, September 16, 2004 6:29 PM
>
>> 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
>> >
>>




-- 
They that can give up essential liberty to obtain a little temporary 
safety deserve neither liberty nor safety.
-- Benjamin Franklin (1755)

---------------------------------------------------------------------
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