It is not producing error messages on stdout/stderr or to screen instead it
gives this output

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html;
charset=iso-8859-1"></HEAD>
<BODY></BODY></HTML>

rgds
Anotny Paul.


----- Original Message -----
From: "Jarl Skogsholm" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, September 16, 2004 6:52 PM
Subject: Re: Question on use of Java style comments in JSP


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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to