Are you talking about the Struts Datasource? That was retired in Struts 1.2.7. Since Struts is an implementation of the Front Controller Pattern, it didn't make sense to manage "back end" resources like database connections. There is no way to access a Struts Datasource outside the Struts web app.
Depending on your servlet container, you may be able to configure a database pool to be available to outside processes (Weblogic can, Tomcat cannot).