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




This is a side-effect of using bean:write or c:out. Both apply filtering to protect you when you use literal values which have special meaning to HTML.

For bean:write, set the "filter" attribute to "false" (defaults to true).

http://jakarta.apache.org/struts/userGuide/struts-bean.html#write

For c:out, set the escapeXml attribute to "false" (also defaults to true)

http://java.sun.com/products/jsp/jstl/1.1/docs/tlddocs/c/out.html

This is not a problem specific to application resources; it would apply to any value displayed with these tags.

Joe

--
Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "In fact, when I die, if I don't hear 'A Love Supreme,' I'll turn back; I'll know I'm in the wrong place."
- Carlos Santana


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



Reply via email to