摘要: 首先在application中的WEB-INF/web.xml中添加这样的代码段<context>................................<resource-ref> <res-ref-name>jdbc/hsql</res-ref-name> <res-type>javax.sql.DataSource</res-type> <res-auth>Container</res-auth></resource-ref></context>然后在应用的ME 阅读全文