Will remove " work?

Regards,
 
 
Phillip Qin
 
Software Developer
Canadian Shareowner
121 Richmond Street W, 7th Floor
Toronto, ON M5H 2K1
(416) 595-9600 ext 291
 

-----Original Message-----
From: Stefan Wachter [mailto:Stefan.Wachter@;gmx.de] 
Sent: October 30, 2002 11:55 AM
To: [EMAIL PROTECTED]
Subject: Problem with request-time attribute expressions in XML JSPs

Hi all.

I tried to work with XML JSPs (i.e. JSP in XML form) but I am not able to
use request time attriubtes. For example the former JSP code

<table width="<%= MyConstants.TABLE_WIDTH %>">
</table>

should translate into:

<table width="%= MyConstants.TABLE_WIDTH %">
</table>

Tomcat 4.1.12 does not recognize this request-time attribute expression and
outputs it literally, i.e. the generated servlet contains the code:

out.write("<table width=\"%= MyConstants.TABLE_WIDTH %\">");

Can anyone help me with this problem?

Thanks,
--Stefan


--
To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to