英文:
Context root folder location in WebSphere
问题
尝试在WebSphere
中的上下文根
文件夹中包含一些自定义的HTML文件,对于WebSphere 8.5
中的物理目录结构/URL是怎样的?在JBOSS中,它曾经是
jboss\server\default\deploy\jbossweb-tomcat50.sar\ROOT.war
寻找在WebSphere中与此位置相对应的位置。有什么提示吗?
英文:
Trying to include some custom html files for a webapp
in the context root
folder in WebSphere
. What's the physical directory structure/URL in WebSphere 8.5
for the context root? In JBOSS, it used to be
jboss\server\default\deploy\jbossweb-tomcat50.sar\ROOT.war
Looking for the WebSphere equivalent of this location. Any tips?
答案1
得分: 0
WebSphere 中的一场战斗将扩展到 <WebSphere 安装目录>/profiles/<配置文件名称>/config/cells/<单元名称>/applications/<应用程序名称>.ear/deployments/<应用程序名称>/<模块名称>.war/
。
如果该目录中的新/更改的文件未被识别,您将不得不编辑该应用程序的压缩 .ear 文件,将这些文件包含在其中,然后通过管理控制台或 wsadmin 进行更新/重新部署。
英文:
A war in WebSphere will be expanded into <WebSphere install dir>/profiles/<profile name>/config/cells/<cell name>/applications/<app name>.ear/deployments/<app name>/<module name>.war/
If new/changed files in that directory don't get picked up you'll have to edit the compressed .ear of the app to include those files and update/redeploy it through the admin console or wsadmin.
专注分享java语言的经验与见解,让所有开发者获益!
评论