zhaolu 发表于 2017-2-15 10:51:11

(转)Weblogic ServletContent.getRealPath()返回null

在Weblogic中部署ADF应用的时候,发现ServletContext.getRealPath()获取不到路径。特别是在EAR中。
解决方法:
在Weblogic.xml文件中,进行一下修改:

<container-descriptor>
<show-archived-real-path-enabled>true</show-archived-real-path-enabled>
</container-descriptor>
 
原帖地址:http://www.fmw007.com/archives/538
页: [1]
查看完整版本: (转)Weblogic ServletContent.getRealPath()返回null