`
xiaotao.2010
  • 浏览: 211910 次
  • 性别: Icon_minigender_1
  • 来自: 成都
社区版块
存档分类
最新评论

在容器中获得容器路径的方法

阅读更多
//能容主流容器中获得容器运行地址方法
this.getClass().getClassLoader().getResource("/").getPath()
		   .substring(1).replace("WEB-INF\\\\classes\\\\", "").replace("WEB-INF/classes/", "");


分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics