<tr>		 
    <td height="52" colspan="8">
	<table border="0" cellspacing="0" cellpadding="0" width="100%" class="rsTable" id=rsTable cols=4>
	<%	if(UserModuleVO!=null){	%>
	<% for(int i=0;i<UserModuleVO.length;i++) {  %>
	<% if(UserModuleVO[i].getUserSubModule()!=null){	%>
		<% for(int j=0;j<UserModuleVO[i].getUserSubModule().length;j++) { %>
		<% if(UserModuleVO[i].getUserSubModule()[j].getUserAction()!=null){	%>
			<%	for(int k=0;k<UserModuleVO[i].getUserSubModule()[j].getUserAction().length;k++) { %>

<tr class="form_list_table_contents">					
<td><%= getSecDropDownDesc(2,UserModuleVO[i].getLayerModuleID()) %></td>	<td><%= getSecDropDownDesc(3,UserModuleVO[i].getUserSubModule()[j].getLayerSubModuleID()) %></td>
<td><%= getSecDropDownDesc(4,UserModuleVO[i].getUserSubModule()[j].getUserAction()[k].getLayerActionID()) %></td>
</tr>

<% 		} %>
<% 	   } %>
<% 	  } %>
<% 	 } %>
<% 	} %>
<% } %>
    </table>


	</td>
</tr>

>>>>>>>>>>>>>>>>>>>>>>>

currently,my table appear like this :
-------
|a|x1|
-------
|a|x2|
-------

how can i make table like this that can maxs the rowspan :
-------
|a|x1|
----
| |x2|
-------

:: anyone help me ;>

by actually using the rowspan functionality?

just a word of advise:

<%}%>
<%}%>
<%}%>

is exactly the same as:

<%
   }
  }
 }
%>

the first version just won't be as easy to read

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.