This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes Java Class - JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Java Class - JSP" Watch "Java Class - JSP" New topic

Java Class - JSP

Mini Ramachandran

Joined: Jan 11, 2001
Posts: 17
I have written a Java class with connection pooling; It simply executes a query and displays a resultset. How do I call it from JSP?(not as a bean, but just the class). I need to look at some examples of this type. Any links/books?.
Any or all help is appreciated.
triveni sangam

Joined: Jan 12, 2001
Posts: 11
U can instantiate the class in the JSp, import if it is in another package and call the methods of the class directly in the scriptlet.
I agree. Here's the link:
subject: Java Class - JSP
It's not a secret anymore!