Hello all,
Im writing a servlet (DbServlet) that uses the DbConnectionBroker as
explained in chapter 9 pg. 266 of the Jason Hunter (O'Reilly) book that will
hand off connection objects.
The problem is that the classes of another servlet cannot use
getServletContext() to get the reference to the DbServlet
since the classes have no servlet context of thier own.
So my question is : Is there a way to get to the DbServlet with out having
to hand out the ServletContext to every class
and the classes they use?
Thanks in advance.
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html