Add escape="false" to your tag:
<s:property value="#session.data.body" escape="false" />
On Oct 17, 2007, at 2:00 PM, Tom Holmes Jr. wrote:
This is probably a very easy question ... and I'm probably just
having one of those "brain-fart" moments.
I'm using struts2 and that works fine ... I've got a bean created
and in session, so I can use the: prefix="s" uri="/struts-
tags" taglib defined.
This all works great!
I'm showing some data on my jsp page, for example: <p>Body:
<s:property value="#session.data.body" /></p>
This property contains HTML code, but yet it is showing the tags as
> & < etc .... so, I'm trying to remember the flag,
property, value that renders the HTML
as real HTML on my JSP page. I've done it before with
Struts1 ... just can't remember how to do it now ...
I must be getting old .... any help with this would be much
appreciated. Thanks!
Tom
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]