struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yee, Richard K,,DMDCWEST" <Ye...@osd.pentagon.mil>
Subject RE: html tags in message resources
Date Mon, 17 Nov 2003 23:00:49 GMT
Wes,
Use bean:write with the filter parameter set to false.

-Richard


-----Original Message-----
From: Wes Kubo [mailto:wkubo@galdosinc.com] 
Sent: Monday, November 17, 2003 2:53 PM
To: Struts Users Mailing List
Subject: html tags in message resources


I'd like to put some html tags in an ActionMessage that I read in from my
message resources (to create some links in the event of an error).
Unfortunately, the html is being escaped when it displayed on the page
(using html:messages/bean:write etc). I didn't think it would be a problem
because I can use html with <bean:message key='some.key'/> on a page.

Any advice/alternate solutions much appreciated.

Wes


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


Mime
View raw message