更新时间:2023-12-02 09:33:34
永远不要将驱动程序放在webapp类路径中.始终将其放入服务器的类路径中.
Never ever put drivers in the webapp class path. Put it always into the server's classpath.
在context.xml
中声明一个DataSource
,然后使用此.
Declare a DataSource
then in your context.xml
and then free the resources with this.