Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我将使用 weblogic 和 JAX-RS 构建许多 Web 服务。为了简单起见,我打算将每个服务放在自己的项目中。但我似乎遇到的问题是为每个项目设置上下文根。
部署在保存 weblogic 服务器上的多个项目可以具有相同的上下文根吗?
当然不是。您如何期望 weblogic 知道您正在调用哪个 Web 应用程序?
编辑:但是,可以给一个 Web 应用程序一个上下文根,/webapp另一个/webapp/ws
/webapp
/webapp/ws