Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dynamic Drawing fields?

 
Edward Durai
Ranch Hand
Posts: 223
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have one for loop. I draw all the controls (html text,textarea,combo).
Field name and its control.

I have 10 label name and 10 Control

I want to display
each row should have 4 <td>
<tr>
<td>
label name
</td>
<td>
<input type="text">
</td>
<td>
label name
</td>
<td>
<input type="text">
</td>
</tr>

SO i need 5 rows. each row contains 4 td's

How it is?
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Our JSP FAQ entry on JSP and Excel has an example of some nested loops that write an HTML table from within a JSP.
http://faq.javaranch.com/view?JspAndExcel
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic