Class<?> cls = com.mysql.jdbc.Driver. class ; |
//或 |
Class.forName( "com.mysql.jdbc.Driver" ); //源代码片段来自云代码http://yuncode.net |
|
com.mysql.jdbc.Driver. class .newInstance(); //源代码片段来自云代码http://yuncode.net |
|
java.sql.Driver driver = com.mysql.jdbc.Driver. class .newInstance(); //源代码片段来自云代码http://yuncode.net |
|
<Context |
crossContext= "true" |
privileged= "true" |
path= "" |
docBase= "/usr/local/example.war" |
reloadable= "false" |
unpackWAR= "true" |
cachingAllowed= "true" |
cacheMaxSize= "1024" |
></Context> //源代码片段来自云代码http://yuncode.net |
|
初级程序员
by: lmkzy1234 发表于:2016-04-07 11:09:34 顶(0) | 踩(0) 回复
最好配上说明,方便新手
回复评论