This week's book giveaway is in the OCAJP forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
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 OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Connection broker in JSP" Watch "Connection broker in JSP" New topic
Author

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.
Regards,
ds
 
Consider Paul's rocket mass heater.
 
subject: Connection broker in JSP