根据属性文件进行数据的读取
db.propertities
1.InputStream is=对象.getClass()/类名.getResourceAsStream("/db.properties");(该方法打开并读取一个String 类型参数指定的文件到系统的内存中,以方便获取文件信息)
2.Properties p=new Properties();
3.p.load(is);
4.p.getproperties("drive");
---------------------------
.properties文件形式只能保存 String类型的信息
driver=com.microsoft.jdbc.sqlserver.DriveManager;