Hi All,
I am trying to display error messages on top of that filed only using <s:fielderror> tag in struts 2 but not able to do it. i have tried the following way :
<tr style="height: 15px;">
<td colspan="2">&nbsp;</td>
<td width="260">
<s:fielderror name="account.name" cssClass="error">
<tr >
<td valign="top"><span style="color: rgb(232, 19, 19);">*</span></td>
<td colspan="2" width="260">
<s:textfield name="account.name" id="text" label="Name" />
Please tell me where i am doing mistake as right now it display error message on top of every filed