Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic