• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to use an existing Connection with jstl.sql?

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I inherited an old JSP application (very low traffic) that already has a sql Connection object held at the session level. For quick & dirty extension I was thinking of using the JST SQL tags, but has someone built a wrapper that would allow me to use the connection as dataSource? I think one needs to implement the javax.servlet.jsp.jstl.sql.dataSource interface, but I don't know what JAR to include in my project to see that class. Of course any existing implementation would be very welcome. I do *not* want to re-open a new connection for every new query, but to re-use the one available tot the session.
 
reply
    Bookmark Topic Watch Topic
  • New Topic