struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shai200 <shai...@gmail.com>
Subject Outputting raw HTML with s:property tag
Date Mon, 31 Dec 2007 06:35:13 GMT

I'm using the <s:property name="form"> tag to get invoke the getForm() method
in my action, to get its output. 

The problem is that my output is some HTML code, but what comes out is
output text, with tags converted to be shown on the screen i.e. 
<tt>
 &lt;input  type='hidden' name='uaction' value='retrieve'&gt;
&lt;input  type='hidden' name='mode' value='&lt;%=dt.getUiMode()%&gt;'&gt;
&lt;table&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align='left' class='text'&gt;User Type: &amp;nbsp;&lt;/td&gt;&lt;td
align='top'&gt;&lt;img
src='/gc9/images/icons/mandatoryStartSmall.gif'&gt;&lt;/img&gt;&lt;/td&gt;

</tt>

How do I make the s:property tag output my HTML code? Perhaps there is a
different tag to do this?


Thanks.
-- 
View this message in context: http://www.nabble.com/Outputting-raw-HTML-with-s%3Aproperty-tag-tp14554781p14554781.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message