<c:out value="${newsItem.news}" escapeXml="false"/>
Quoting Frank Burns <[EMAIL PROTECTED]>:
> 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 < and >
>
> 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.
--
Kris Schneider <mailto:[EMAIL PROTECTED]>
D.O.Tech <http://www.dotech.com/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]