Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to use an existing Connection with jstl.sql?  RSS feed

 
Jacques Durand
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • 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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!