A DataSource delcared through the
struts <data-source> tag and a DataSource accessed through JNDI have nothing to do with each other. Furthermore, the struts DataSource utility has been deprecated. It is no longer supported in the latest version of Struts.
I'd recommend that you continue accessing your DataSource through a JNDI lookup and avoid using the struts DataSource utility.