读书人

java取得web的根路径

发布时间: 2012-10-08 19:54:56 作者: rapoo

java获得web的根路径
????getClass().getProtectionDomain().getCodeSource().getLocation().getPath();

<!--EndFragment-->

读书人网 >Web前端

热点推荐