aspose file tools
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 Head First Android this week in the Android 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.
It is sorta covered in the JavaRanch Style Guide.
subject: Java Class - JSP
jQuery in Action, 3rd edition