Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Need help creating a JSTL tag....Urgent :x

843840Aug 19 2008 — edited Aug 19 2008
I am new to this JSTL thing. Trying to figure out how to write a tag file or tag handler that will help me to reduce html code. Below is what I am trying to do:

Existing way:
<table>
<tr>
<td>Lable11 : </td><td><input type="text" id="id11" name="name11"/> </td>
</tr>

<tr>
<td>Lable21: </td><td><input type="text" id="id21" name="name21"/> </td>
</tr>
</table>


I am trying to write a tag that will generate the equivalent output. My code will be look like:

<table>
<myTag:input id="11" lable="Lable11" type="input" ...... />
<myTag:input id="21" lable="Lable21" type="input" ......../>
</table>


Any help is highly appreciated.......Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 16 2008
Added on Aug 19 2008
17 comments
229 views