To display the value of a field present in form, you can use struts2 <s:property> tag. For example :
<s:property value="address"></s:property>
But to display the HTML snippet in field value you have to use the escape flag, Like :
<s:property escape="false" value="address"></s:property>
More stories on struts2
struts2 - Displaying Checkboxlist Vertically
File Download Issue in Internet Explorer - struts2
struts2 Interview questions - I
No comments:
Post a Comment