aspose file tools*
The moose likes JSP and the fly likes Dynamic Drawing fields? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Dynamic Drawing fields?" Watch "Dynamic Drawing fields?" New topic
Author

Dynamic Drawing fields?

Edward Durai
Ranch Hand

Joined: Oct 09, 2004
Posts: 223
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?


Thank You<br />Edward
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

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


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Dynamic Drawing fields?