>Actionで実装されてる、getDataSource(HttpServletRequest req ,String str){}
>って、Connection返してくれるけど、

ホントかよw

それ以前に、Strutsのその機能をつかうなんて言語道断・愚の骨頂。
以前にこれ紹介してさんざん叩かれた記事があったなw

公式ドキュメントにも「In practice, if you need to use the DataSource manager,
you should use whatever DataSource implementation works best with your container or database.」
ってあるだろ。