So there is not a way to access the ServletContext attributes without a
direct link to a servlet or a JSP?

The Generic Connection Pool works fine with the dbTags, but they can
lookup the DataSource through the pageContext. 

If it were possible, it may also be interesting to be able to tap into
the ActionMappings and MessageResources that Struts exposes through the
Application context, from library utilities that are running in the same
application context, without a direct link to a particular servlet. 

-Ted.

"Craig R. McClanahan" wrote:
> You won't be able to use the Struts connection pool directly, but all J2EE
> application servers (and some servlet containers, such as Tomcat 4) let
> you configure a connection pool that can be accessed via JNDI.  I
> responded to a similar question with the details of this earlier today, so
> it should show up shortly.

Reply via email to