<tr> <td>Partner Name</td> <td><form:input path="name" id="name" maxLength="30" onkeyup="value=value.replace(/\s/g,'')"/><SPAN style="color: #FF0000"> *</SPAN></td> </tr>