Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / May 2004

Tip: Looking for answers? Try searching our database.

help needed on custom tag

Thread view: 
sree - 31 May 2004 08:42 GMT
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.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.