I just tried this, and the <br> get rendered properly and I get linebreaks. What version of Struts are you using? What code is in your JSP to display the message resource?


From: "Ciaran Hanley" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts User Mailing List" <[EMAIL PROTECTED]>
Subject: Application Resources Question
Date: Thu, 10 Jun 2004 14:32:58 +0100

Hi,



I am trying to format some text so that it appears on separate lines so I am
using the <br> tag in my ApplicationResources.properties file.




help.info = First sentence of help. <br> Second sentence <br> Third etc...



The <br> tag is coming out as text on the page and in the source it is
translated as &lt;br&gt;



Is there a way to get around this without breaking the string into a number
of sentences?



Thanks,

CH






_________________________________________________________________
Stop worrying about overloading your inbox - get MSN Hotmail Extra Storage! http://join.msn.click-url.com/go/onm00200362ave/direct/01/



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



Reply via email to