try one of the attribute in the bean:write which is
filter="true"
From: Carl Smith <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <user@struts.apache.org>
To: Struts Users Mailing List <user@struts.apache.org>
Subject: Form bean's attribute displays as Html
Date: Mon, 1 Aug 2005 13:07:47 -0700 (PDT)
I have an attribute in my ActionForm (called myForm) called text, this text
have a value of
<a href="http://www.yahoo.com">Click here to Yahoo.com</a>, now I want this
attribute to be displayed on web page as a hyper link. I used <bean:write
name="myForm" property="text"/>, which prints <a
href="http://www.yahoo.com">Click here to Yahoo.com</a> on the screen. I
understand I should't use <bean:write> tag since it prints all the value to
JSPWriter, the thing is which is the correct tag/way to display the value
of the frombean's attribute as a html to the user?
Thanks in advance.
---------------------------------
Start your day with Yahoo! - make it your home page
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]