my project i used nearly 50
struts config file.In each xml file we defined datasource and getting connection .the problem is i was used 50 struts config file so 50 connection pooling is created.please tell me how to use single datasource to all sub module without defined seperate in each xml.
i tried context.getAttribute(Action.DATA_SOURCE_KEY).BUT I this is deprecated
please tell me