You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Shyam A <st...@yahoo.com> on 2003/11/13 17:10:09 UTC
simple question
Hi,
Is there any Struts tag for an expression like
<%= request.getAttribute("attributeName")%>
where the attribute is a String.
Thanks,
Shyam
__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: simple question
Posted by Gurpreet Dhanoa <gu...@smartdatainc.com>.
you can use
<bean:write name="attributeName">
OR
<bean:message key="attributeName"/>
Where key is the key defined in resources file
Cheers
Gary
----- Original Message -----
From: "Shyam A" <st...@yahoo.com>
To: <st...@jakarta.apache.org>
Sent: Thursday, November 13, 2003 9:40 PM
Subject: simple question
> Hi,
>
> Is there any Struts tag for an expression like
>
> <%= request.getAttribute("attributeName")%>
>
> where the attribute is a String.
>
> Thanks,
> Shyam
>
> __________________________________
> Do you Yahoo!?
> Protect your identity with Yahoo! Mail AddressGuard
> http://antispam.yahoo.com/whatsnewfree
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org