[code]根据xml配置文件得到数据库连接Connection

xiaoxiao2022-06-12  18

Java SAX解析器解析XML配置文件 [url]http://www.cnblogs.com/foresthjj/articles/863147.html[/url] 配置文件格式: <?xml version="1.0" encoding="UTF-8"?><config> <dbtype>com.mysql.jdbc.Driver</dbtype> <dbhost>127.0.0.1</dbhost> <dbname>test</dbname> <dbuser>root</dbuser> <dbpassword>root</dbpassword> </config>
转载请注明原文地址: https://www.6miu.com/read-4932251.html

最新回复(0)