You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Todd Pierce <To...@hubbub.com.au> on 2003/02/26 07:53:34 UTC
RE: Dispaly a tag
http://jakarta.apache.org/struts/doc-1.0.2/struts-bean.html#write
-----Original Message-----
From: Richard Raquepo [mailto:rraquepo@primeorion.com]
Sent: Wednesday, 26 February 2003 5:55 PM
To: Struts Users Mailing List
Subject: Dispaly a tag
I have placed this string in one of my struts action
session.setAttribute("mylist","<li>List 1</li><li>List 2</li>");
I tried displaying it using
<bean:write name="mylist"/>
I't showed the content but changed the supposed tag charcters "<" & ">" with
">" and "<"
how can i display the correct tag <li>
thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: Dispaly a tag
Posted by Richard Raquepo <rr...@primeorion.com>.
Thank Todd.
Anyway, another question guys...
I have a formbean which i put a validate method and set my struts-config
validate=true. The form bean returned
successfully. I just wanted to ask if it's possible to
populate the fields which already has input. thanks
----- Original Message -----
From: "Todd Pierce" <To...@hubbub.com.au>
To: "'Struts Users Mailing List'" <st...@jakarta.apache.org>
Sent: Wednesday, February 26, 2003 2:53 PM
Subject: RE: Dispaly a tag
> http://jakarta.apache.org/struts/doc-1.0.2/struts-bean.html#write
>
> -----Original Message-----
> From: Richard Raquepo [mailto:rraquepo@primeorion.com]
> Sent: Wednesday, 26 February 2003 5:55 PM
> To: Struts Users Mailing List
> Subject: Dispaly a tag
>
>
> I have placed this string in one of my struts action
> session.setAttribute("mylist","<li>List 1</li><li>List 2</li>");
>
> I tried displaying it using
> <bean:write name="mylist"/>
>
> I't showed the content but changed the supposed tag charcters "<" & ">"
with
> ">" and "<"
>
> how can i display the correct tag <li>
>
> thanks
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org