Please provide the solution for the following problem :
on my page things should appear as:
Are you Married? radio-button(Yes) radio-button(No).
So a married is a link which is defined as a href=# onmouseov=some content.
The problem is that "Are you married?" is read from the data-base. I made a java-bean which contains the display property.
After fetching the display i edit it to show the link.
The anchor tag i am adding through my java-code to the display is interpreted with escape chars for less than, gretaer than & quotes so the entire anchor tag appaers on the screen which is not wanted ?
Any help or suggestions are most welcome.
By the way , i had these placed these bean objects in a map and the map is a part of the form-bean. I iterating through the map using the nested:iterate tag.
Thanks in advance.
posted 10 years ago
If you're using the <bean:write> tag to display this information, specify filter="false". This will tell Struts not to escape certain characters.
If you're using <cut>, specify escapeXml="false". [ January 12, 2006: Message edited by: Merrill Higginson ]