JSP Bug

2002-09-09 Thread Stephane Zafirov

I just wanted to make sure the following bug has been classified. Or maybe
it is not a bug, but it looks like one.

The following JSP:

%
String s = %;
%

is interpreted as:

String s = 

in the java file in the work directory. So it does not compile.
Obviously, there are workarrounds. I am just making sure it is known to
everyone. Since its pretty simple, my guess is I am the last one to find it.

Stephane


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




Re: JSP Bug

2002-09-09 Thread Kin-Man Chung

This is not a bug.  Any % that appears in an expression bracketed by
% ... % needs to be escaped as %\ (JSP.2.6).

 Date: Mon, 09 Sep 2002 15:17:04 -0400
 From: Stephane Zafirov [EMAIL PROTECTED]
 Subject: JSP Bug
 To: [EMAIL PROTECTED]
 
 I just wanted to make sure the following bug has been classified. Or maybe
 it is not a bug, but it looks like one.
 
 The following JSP:
 
 %
   String s = %;
 %
 
 is interpreted as:
 
   String s = 
 
 in the java file in the work directory. So it does not compile.
 Obviously, there are workarrounds. I am just making sure it is known to
 everyone. Since its pretty simple, my guess is I am the last one to find it.
 
 Stephane
 
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 


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