<c:out value="${newsItem.news}"/ escapeXml="false">

> -----Original Message-----
> From: Frank Burns [mailto:[EMAIL PROTECTED] 
> Sent: Monday, March 29, 2004 10:39 AM
> To: [EMAIL PROTECTED]
> Subject: Help: How to generate unescaped HTML output
> 
> 
> Hi,
> 
> Can someone help please. I have an urgent problem I have to 
> solve for a client.
> 
> I'm using this tag
> 
>     <c:out value="${newsItem.news}"/>
> 
> to ouput the news from a newsItem bean into a JSP that is 
> generating XML.
> 
> The problem is, the news in the newsItem may contain HTML text.
> 
> The <c:out ...> tag seems to be escaping the HTML 
> angled-brackets, < and >, with &lt; and &gt;
> 
> How do I stop this character-escaping functionality?
> 
> Is there a different tag that will just output the "raw" text 
> from my bean's getNews() method?
> 
> Thanks,
> 
> Frank.
> 


This message and any files transmitted with it are confidential and are
intended solely for the use of the individual or entity to whom they are
addressed.  If you have received this email in error, please delete the
email and any files transmitted with it entirely from your computer. 



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

Reply via email to