<%//a%>
aaa
t_jsp.java
//a out.write("\naaa\n");
The out.write() needs to be on second line.
rgds
Antony Paul
- Original Message -
From: "Jarl Skogsholm" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, Septemb
Thursday, September 16, 2004 8:14 PM
Subject: Re: Question on use of Java style comments in JSP
> Go look in the work directory and find the corresponding java file to this
> jsp.
>
> On Thu, 16 Sep 2004 19:22:50 +0530, Antony Paul <[EMAIL PROTECTED]>
> wrote:
>
> > I
Go look in the work directory and find the corresponding java file to this
jsp.
On Thu, 16 Sep 2004 19:22:50 +0530, Antony Paul <[EMAIL PROTECTED]>
wrote:
It is not producing error messages on stdout/stderr or to screen instead
it
gives this output
rgds
Anotny Paul.
--
ber 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?
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 non
IL PROTECTED]>
Sent: Thursday, September 16, 2004 6:29 PM
Subject: Re: Question on use of Java style comments in JSP
> Never use // in JSP code. Also never use if conditionals without {} (as
well
> as for loops).
>
> -Tim
>
> Antony Paul wrote:
>
> > Hi,
> >
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. W