struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Kriger" <>
Subject RE: out> tag inside <html:text> tag
Date Wed, 04 Feb 2004 15:07:39 GMT
Try using the struts-el tag library
It's an extension of the struts taglib that allows you to use JSTL EL
So you example becomes...
<html-el:text style="${styleVar}" .../>

-----Original Message-----
From: Rahul Mohan [] 
Sent: Thursday, January 08, 2004 2:48 AM
To: struts
Subject: <c:out> tag inside <html:text> tag

Hi...I am facing some problems with using JSTL tags inside struts tags.

This is the piece of code I wrote for my application:

 property ="Name" 
 style="<c:out value="${styleVar}"/>"

the problem is that it is getting traslated to

 property ="wca_Name" 

in the final html page!! 

can anybody please tell me why the <html:text> tag is not getting translated
to <input type="text .....> ?

thank you..

Rahul Mohan
MasterCraft Group
Tata Consultancy Services
Tata Research Development and Design Center 54B, Hadapsar Industrial Estate
Pune - 411 013
Phone: +91 4042333 or 4031122 Extn 2541
            +91 471 3129787  ( Mobile )
Fax:     +91 20 4042399
email :

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message