【问题标题】:Context root folder location in WebSphereWebSphere 中的上下文根文件夹位置
【发布时间】:2020-11-13 07:15:27
【问题描述】:

尝试在WebSpherecontext root 文件夹中包含一些用于webapp 的自定义html 文件。 WebSphere 8.5 中上下文根的物理目录结构/URL 是什么?在JBOSS,以前是

jboss\server\default\deploy\jbossweb-tomcat50.sar\ROOT.war

寻找与此位置等效的 WebSphere。有什么建议吗?

【问题讨论】:

    标签: java web-applications websphere-8 contextroot


    【解决方案1】:

    WebSphere 中的一场战争将扩展为<WebSphere install dir>/profiles/<profile name>/config/cells/<cell name>/applications/<app name>.ear/deployments/<app name>/<module name>.war/

    如果该目录中的新/更改文件没有被拾取,您将必须编辑应用程序的压缩 .ear 以包含这些文件并通过管理控制台或 wsadmin 更新/重新部署它。

    【讨论】:

    • -感谢您的提示。它是通过管理控制台部署的战争文件。自定义文件由客户端提供,需要在运行时导入。不幸的是,将其添加到耳朵/战争中不是一种选择。
    猜你喜欢
    • 1970-01-01
    • 2019-08-28
    • 1970-01-01
    • 2015-05-22
    • 2012-12-22
    • 2012-08-20
    • 1970-01-01
    • 2014-08-19
    • 1970-01-01
    相关资源
    最近更新 更多