Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connection broker in JSP

 
Divyajot Ahluwalia
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic