I am using struts2 in my JSP, but the the HTML rendering of the JSP page is not being done properly.

I want to display multiple struts tag fields in one row of a table.
But every struts field is rendered as a separate table row in the browser.

Here's my JSP code.

<?xml version="1.0" encoding="ISO-8859-1" ?>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Insert title here</title>
</head>
<body>
<table>
<tr>
<td><s:textfield></s:textfield> </td>
<td><s:textfield></s:textfield></td>
<td><s:textfield></s:textfield></td>
</tr>
</table>
</body>
</html>



This is the generated HTML.
Every struts tag rendered in separate table row

<?xml version="1.0" encoding="ISO-8859-1" ?>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Insert title here</title>
</head>
<body>
<table>
<tr>
<td><tr>

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

<td class="tdLabel"></td>
<td
><input type="text" name="" id=""/></td>
</tr>
</td>
</tr>
</table>
</body>
</html>

Please help out with this