• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java Class - JSP

 
Mini Ramachandran
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!