[英]How to find the publish path in Websphere Application Server v8.0
In my local workspace, i separated my application into several web applications, which are wrapped with EAR, then publish it to Websphere Application Server v8.0, in previous version of WAS, i can find the place that my WAS published, but i can't find it for WAS v8.0, anybody have idea. 在本地工作区中,我将我的应用程序分成几个用EAR打包的Web应用程序,然后将其发布到Websphere Application Server v8.0,在WAS的早期版本中,我可以找到WAS发布的位置,但是我可以在WAS v8.0中找不到它,任何人都有想法。
BTW, i am using IBM Rational Application Developer v8.5. 顺便说一句,我正在使用IBM Rational Application Developer v8.5。
Execute a simple JSP file in your Web Application with the following lines: 使用以下行在Web应用程序中执行一个简单的 JSP文件:
<h1>Real Path for this Context</h1>
<hr>
<h3>${pageContext.servletContext.getRealPath('')}</h3>
You'll get the real path from which Websphere is serving the published files for the context that you are testing. 您将获得Websphere为您正在测试的上下文提供已发布文件的真实路径。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.