tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jarl Skogsholm <j...@lamarido.net>
Subject Re: Question on use of Java style comments in JSP
Date Fri, 17 Sep 2004 08:43:35 GMT
I tried it again using a 5+ version, it works correctly.  Is this a bug 
version 4?  Anyone else care to comment?


       out.write("        
<tr>\r\n");
//a
       out.write("<td align=\"right\" class=\"formfield\" valign=\"top\" 
>Comment:</td>\r\n");



On Fri, 17 Sep 2004 09:15:03 +0530, Antony Paul <antonypaul24@hotmail.com> 
wrote:

> t.jsp
>
> <%//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" <jarl@lamarido.net>
> To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
> Sent: 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 
>> <antonypaul24@hotmail.com>
>> wrote:
>>
>> > 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.
>> >
>>
>> ---------------------------------------------------------------------
>> 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



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


Mime
View raw message