Sam...
I do the same thing, and accomplish this in JSP by importing the bean
class via:
<%@ page import="ConnectionBean" %>
and instantiate the bean with
<jsp:useBean id="conn" class="ConnectionBean" scope="request" />
and using it via
<% conn.getConnection(); %>
or some like sequence...
Sam wrote:
> Hi, I'm using Tomcat and have several Beans, who all require a
> database connection.I've defined a connectionBean (which ofcourse
> handles the database connection via connectionPooling). I want to be
> able to call this connectionBean in every other bean.Can someone tell
> me how to do that? Sam.