File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Connection broker in JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Connection broker in JSP" Watch "Connection broker in JSP" New topic

Connection broker in JSP

Divyajot Ahluwalia
Ranch Hand

Joined: Nov 03, 2000
Posts: 46
Hi guys!!
I have developed a site in jsp using mysql as the database.
for connecting to mysql i am using the mm-mysql driver and the dbConnectionBroker class.
The problem is.. I want to use an object of the connectionbroker as a bean in my numerous jsp pages with application level scope. At present i am using a separate object of the connection broker for each jsp page but the number of jsp pages is increasing so i need an alternative.
How do you guys handle the connection broker object over multiple jsp pages?
Looking forward to a solution.
Consider Paul's rocket mass heater.
subject: Connection broker in JSP
It's not a secret anymore!