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 <[EMAIL PROTECTED]> 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" <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to