Hi, here is the question:
I have 2 textfields in my JSP:
<s:textfield name=" ...." />
<s:textfield name=" ...." />
Now I went to browser and did: View Source Code, and noticed that around the above tags, there were auto-generated tags that put the above fields into 2 rows in a table. It was like:
<tr><td>
<input type="text" ....>
</td></tr>
<tr><td>
<input type="text" ....>
</td></tr>
Now I wanted those 2 fields to be at the same row, so I originally wrote:
<table>
<tr>
<td>
<s:textfield name=" ...." />
</td>
<td>
<s:textfield name=" ...." />
</td>
</tr>
</table>
But when I viewed the page at the browser the GUI was messed up and those 2 fields were put one under the other (like in 2 different rows because of the extra generated tr, td tags), But I wanted those fields to be at the same row next to each other (2 different columns).
I am sure that I am doing something wrong, because I have just started learning Struts 2, so is there a way for what I want to be done?
Am I making any sense?
Thanks