java web工程中如何获取webroot 路径话不多说,直接上代码在web.xml中加入String webroot System.getPrope
java web工程中如何获取webroot 路径
话不多说,直接上代码
在web.xml中加入
String webroot = System.getProperty("webapp.root"); java web工程中如何获取webroot 路径
话不多说,直接上代码
在web.xml中加入
String webroot = System.getProperty("webapp.root");