I'm using java, struts and jsp. On one of my forms I display the
website of a company with:
<td class="stockinfo"> <bean:write
name="stockInformationForm" property="fundValue(website).value"/> </
td>
but jsp converts the < and > into < and >
When I view the source html in my browser it shows what should be a
link as:
<td class="stockinfo"><A HREF=http://www.advanta.com
target="_blank">www.advanta.com</A></td>
... but it should be:
<td class="stockinfo"><A HREF=http://www.advanta.com
target="_blank">www.advanta.com</A></td>
Any suggestions on how to fix this?
Thanks
Kay
On Aug 15, 10:04 am, compaqr4...@lycos.com wrote:
> I'm using java, struts and jsp. On one of my forms I display the
> website of a company with:
[quoted text clipped - 17 lines]
> Thanks
> Kay
Try <bean:write name="stockInformationForm"
property="fundValue(website).value" filter="false"/>
If using c:out instead of bean:write, use escapeXml="false".
-cheers,
Manish
compaqr4000@lycos.com - 15 Aug 2007 18:54 GMT
> On Aug 15, 10:04 am, compaqr4...@lycos.com wrote:
>
[quoted text clipped - 27 lines]
> -cheers,
> Manish
That worked perfectly!
Thanks so much!
Kay