web中webAppRootKey作用

<context-param>
    <param-name>webAppRootKey</param-name>
    <param-value>bgn.root</param-value>
</context-param>

通过System.getProperty("bgn.root")可以得到

D:\software\Tomcat 7.0\webapps\BGNSystem\

posted on 2016-04-14 12:48  颓废的悠然  阅读(3502)  评论(1编辑  收藏  举报

导航