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.

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

& -> & for example. 

> -----Ursprüngliche Nachricht-----
> Von: Eric Lemle [mailto:[EMAIL PROTECTED] 
> Gesendet: Montag, 7. März 2005 23:03
> An: user@struts.apache.org
> Betreff: New Question Re: <bean:write filter=false>
> 
> I have a question after reading this question.
> What exactly does the filter="  do?
> -Eric
> 
> >>> [EMAIL PROTECTED] 03/07/05 1:30 PM >>>
> Hi,
>     I wanted to display label using <bean:write 
> filter="false">. But I need to filter(or allow) selected HTML 
> tag. For example I have to allow <code></code> tag but I have 
> to filter <script>alert("hi");</script> like that.. Can we do 
> this selective filtering using any tag libraries,, otherwise 
> I have to extend existing tag libraries..Please help me out here..
> 
> Thanks,
> Kaja
> 
> 
> 
> 
> ---------------------------------------------------------------------
> 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]
> 
> 



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

Reply via email to