You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jürgen Hofmann <ho...@Triltsch.DE> on 2006/02/21 14:17:00 UTC
JSP expression html filter?
If I use the bean write-tag (<bean:write...filter="true">) I can filter html
output: > becomes > ...
How can I filter output from JSP expressions (${...}) ? Is this possible?
Thanks
Jürgen
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: JSP expression html filter?
Posted by Jürgen Hofmann <ho...@Triltsch.DE>.
thanks Rahul.
----- Original Message -----
From: "Rahul Akolkar" <ra...@gmail.com>
To: "Struts Users Mailing List" <us...@struts.apache.org>
Sent: Tuesday, February 21, 2006 2:23 PM
Subject: Re: JSP expression html filter?
On 2/21/06, Jürgen Hofmann <ho...@triltsch.de> wrote:
> If I use the bean write-tag (<bean:write...filter="true">) I can filter
> html
> output: > becomes > ...
>
> How can I filter output from JSP expressions (${...}) ? Is this possible?
>
<snip/>
${fn:escapeXml(...)}
or
<c:out value="${...}" />
-Rahul
> Thanks
>
> Jürgen
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: JSP expression html filter?
Posted by Rahul Akolkar <ra...@gmail.com>.
On 2/21/06, Jürgen Hofmann <ho...@triltsch.de> wrote:
> If I use the bean write-tag (<bean:write...filter="true">) I can filter html
> output: > becomes > ...
>
> How can I filter output from JSP expressions (${...}) ? Is this possible?
>
<snip/>
${fn:escapeXml(...)}
or
<c:out value="${...}" />
-Rahul
> Thanks
>
> Jürgen
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org