Need help creating a JSTL tag....Urgent :x
843840Aug 19 2008 — edited Aug 19 2008I 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.