XML Version = "1.0" Encoding = "UTF-8"?> data-source>
data-sources>
When you call the data source in the action, use DataSource DS = (Datasource) servlet.getServletContext (). GetAttribute ("Org.apache.struts.Action.Data_Source"); come to get DataSource, other same general case
form-beans>
action> action-mapings>
struts-config>