You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Sash Sash <sw...@yahoo.ca> on 2002/12/29 20:04:09 UTC
bean:write html stuff, how
Hello and Happy Holidays to you all!!!
Got a quick question. I'm trying to use <bean:write name="someBean" property="desc"/> to output HTML code. However, it seems that the bean replaces characters like & in   with &nbsp. Is there anyway to turn of this feature and have the bean output exactly what is given? Is there another way to do this? I would like to use the bean tag, as I really don't want to use <jsp:usebean...> tag cause I have to specify the scope. Thanks in advance!
---------------------------------
Post your free ad now! Yahoo! Canada Personals
Re: bean:write html stuff, how
Posted by Sash Sash <sw...@yahoo.ca>.
Thank you!!!
Now looking at the javadocs, I found the filter option. It would be nice thought to have this mentioned in the description part of the the javadocs for bean output section. I missed it earlier, cause I assumed the format for bean documentation would be the same as for html and logic tags where the usage is fully described in the description section. I will look in the javadoc next time before I post. Again, thanks!!!
"Eric C. Hein" <gr...@mindspring.com> wrote:Sash,
- Eric
----- Original Message -----
From: "Sash Sash"
To:
Sent: Sunday, December 29, 2002 11:04 AM
Subject: bean:write html stuff, how
>
> Hello and Happy Holidays to you all!!!
>
> Got a quick question. I'm trying to use property="desc"/> to output HTML code. However, it seems that the bean
replaces characters like & in with  . Is there anyway to turn
of this feature and have the bean output exactly what is given? Is there
another way to do this? I would like to use the bean tag, as I really don't
want to use tag cause I have to specify the scope. Thanks
in advance!
>
>
>
> ---------------------------------
> Post your free ad now! Yahoo! Canada Personals
>
--
To unsubscribe, e-mail:
For additional commands, e-mail:
---------------------------------
Post your free ad now! Yahoo! Canada Personals
Re: bean:write html stuff, how
Posted by "Eric C. Hein" <gr...@mindspring.com>.
Sash,
<bean:write name="someBean" property="desc" filter="false"/>
- Eric
----- Original Message -----
From: "Sash Sash" <sw...@yahoo.ca>
To: <st...@jakarta.apache.org>
Sent: Sunday, December 29, 2002 11:04 AM
Subject: bean:write html stuff, how
>
> Hello and Happy Holidays to you all!!!
>
> Got a quick question. I'm trying to use <bean:write name="someBean"
property="desc"/> to output HTML code. However, it seems that the bean
replaces characters like & in   with &nbsp. Is there anyway to turn
of this feature and have the bean output exactly what is given? Is there
another way to do this? I would like to use the bean tag, as I really don't
want to use <jsp:usebean...> tag cause I have to specify the scope. Thanks
in advance!
>
>
>
> ---------------------------------
> Post your free ad now! Yahoo! Canada Personals
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>