Hi all,
I need to develop a Custom tag that retrieves the values from
two database tables. first table has the some data and second table
contains data matching to the primary key of first table.
what i need to display on a JSP is
1st PK value of first table 2nd PK value of first table
--------------------------- ------------------------
here display data from second table here display data from second table
matching for 1st pk of first table matching for 2nd PK value of first table
on the side of the 2nd table data there shud b radio buttons displayed.
can anybody send me the code samples of custom tags for
accessing database.
regards
D.Sreenivas
Ryan Stewart - 31 May 2004 13:29 GMT
> Hi all,
> I need to develop a Custom tag that retrieves the values from
[quoted text clipped - 11 lines]
> can anybody send me the code samples of custom tags for
> accessing database.
The code for accessing a db from a custom tag is no difference that it is
from anywhere else. It's just a Java class after all.