Cool! that works -thanks a lot!
Guess I'd better take a closer look at the API next time :-/

/Lars Hammer


>
> I mean the FILTER attribute of course!!
>
> <bean:write name="hit" filter="false" property="comment"/ >
>
> >From: "tcs 777" <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >To: [EMAIL PROTECTED]
> >Subject: Re: outputting html with bean:write
> >Date: Wed, 15 Oct 2003 08:23:06 +0000
> >
> >If writing html with <bean:write> just make sure you specify the
attribute
> >format="false".
> >If this attribute is set to true, the rendered property value will be
> >filtered for characters that are sensitive in HTML, and any such
characters
> >will be replaced by their entity equivalents.
> >The default value is "true".
> >
> >So:
> >
> >< bean:write name="hit" format="false" property="comment"/ >
> >
> >should work.
> >
> >
> >>From: "Lars Hammer" <[EMAIL PROTECTED]>
> >>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >>To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >>Subject: outputting html with bean:write
> >>Date: Wed, 15 Oct 2003 10:17:21 +0200
> >>
> >>Hello
> >>
> >>I'm trying to write the content of a bean property containing html to my
> >>page, but the html doesn't get interpreted by the browser.
> >>The following code works :
> >>
> >>< div style="height: 70; width: 200; border: 1px solid black; overflow:
> >>auto;" >
> >>     <b>hello there</b>
> >>< /div >
> >>
> >>but this doesn't
> >>
> >>< div style="height: 70; width: 200; border: 1px solid black; overflow:
> >>auto;" >
> >>  < bean:write name="hit" property="comment"/ >
> >>< /div >
> >>
> >>
> >>Is there something special about the way text is stored in a bean
> >>property?
> >>
> >>-thanks
> >>
> >>/Lars Hammer
> >>http://www.dezide.com
> >
> >_________________________________________________________________
> >Hotmail en Messenger on the move
> >http://www.msn.nl/communicatie/smsdiensten/hotmailsmsv2/
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
> _________________________________________________________________
> MSN Zoeken, voor duidelijke zoekresultaten! http://search.msn.nl
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to