Java SAX解析器解析XML配置文件
[url]http://www.cnblogs.com/foresthjj/articles/863147.html[/url]
配置文件格式:
[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>