tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antony Paul" <antonypau...@hotmail.com>
Subject Re: Question on use of Java style comments in JSP
Date Thu, 16 Sep 2004 13:52:50 GMT
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" <jarl@lamarido.net>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
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 <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
>
>

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