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!

how to design a JSP/JDBC site

843836Feb 18 2004 — edited Feb 19 2004
Hello!

Im new to jsp and would appreciate some help.

I can talk to my DB with JDBC, no problem, but I would like some advice on how to "box up" the classes I wrote to use them in JDBC.

Do I use Beans ? Servlets ? Custom Tag Libraries ? Or is it easiest just to the a "directive.include" at the top of my jsp file and include the class directly ?

And the I need this one particular class to be allocated ONCE for my entire application (and shared between all the sessions)... there is a nice jsp syntax to do this right, can someone please lend a hand ?

Steve Murphy
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 18 2004
Added on Feb 18 2004
6 comments
89 views