Re: Question on use of Java style comments in JSP

2004-09-17 Thread Jarl Skogsholm
<%//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

Re: Question on use of Java style comments in JSP

2004-09-16 Thread Antony Paul
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

Re: Question on use of Java style comments in JSP

2004-09-16 Thread Jarl Skogsholm
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. --

Re: Question on use of Java style comments in JSP

2004-09-16 Thread Antony 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?

Re: Question on use of Java style comments in JSP

2004-09-16 Thread Jarl Skogsholm
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

Re: Question on use of Java style comments in JSP

2004-09-16 Thread Antony Paul
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, > >

Re: Question on use of Java style comments in JSP

2004-09-16 Thread Tim Funk
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