websphere下如何找到运行时应用程序安装的目录
我们使用的是 WebSphere 7。默认情况下,WebSphere 将安装的 Ear 应用程序解压到 给定节点、应用程序服务器单元的目录“installedApps”。我试图找出此安装目录的目录路径,以防未使用默认安装目录。 websphere 是否提供任何我可以在运行时从我的应用程序调用的 api 来查找应用程序安装的目录?
we are using WebSphere 7. WebSphere by default unpacked the installed ear application in to the
directory "installedApps" for the given node, cell of application server. I am trying to find out the directory path for this installed directory in case that the default installed directory were not used.
Does websphere provide any api that i can call from my applicaiton at runtime to find out the application installed directory?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我相信您正在寻找
ServletContext.getRealPath(字符串路径)
。I believe you are looking for
ServletContext.getRealPath(String path)
.