Hi all,

I just wondering if I can put a single html input to the form without a
label, td's and tr's.
The <s:textfield name="name"> generates the html code

<td class="tdLabel"></td>
   <td><input name="name" value="" id="Win_name" type="text">

</td>

But i just want to put

<input name="name" value="" id="Win_name" type="text">


The next question is why the struts cannot take the value of

<input name="username" value="" id="Win_username" type="text">

when I put this in the jsp file. In other words what is the difference
between <s:textfield name="username"/> and

<input name="username" id="Win_username" type="text">

(the Win is the jsp file name)

Thanks in advance

Reply via email to