struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sawan <>
Subject HTML Encoding in Struts2
Date Wed, 01 Aug 2007 09:08:02 GMT

Hi experts,

I have following code...

ArrayList obj = new ArrayList();   
obj.add(" Visit google ");
obj.add(" Visit yahoo ")

<s:iterator value = "obj ">                    
    <s:property />

On jsp page source, I am getting "&lt;a
href=&quot;;&gt;Visit google&lt;/a&gt;" and
"&lt;a href=&quot;;&gt;Visit yahoo&lt;/a&gt;"

So it is not linking "Visit google" and "Visit yahoo", instead of it is
showing the whole string " Visit google " and
Visit yahoo .

How can I make both linkable..?

Thanks in advance


View this message in context:
Sent from the Struts - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message