多个项目可以具有相同的上下文根吗? [英] Can multiple projects have the same context-root?

查看:142
本文介绍了多个项目可以具有相同的上下文根吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将使用weblogic和JAX-RS构建许多Web服务.为简单起见,我将把每个服务放在自己的项目中.但是我似乎遇到的问题是为每个项目设置上下文根.

I am going to build a many web services using weblogic and JAX-RS. To keep things simple I was going to place each service in its own project. But the problem I seem to be having is with setting the context-root for each project.

在保存的weblogic服务器上部署的多个项目可以具有相同的上下文根吗?

Can multiple projects that are deployed on the save weblogic server have the same context-root?

推荐答案

当然不是.您如何期望weblogic知道您正在调用哪个Web应用程序?

of course not. how do you expect weblogic knows which web application you are calling?

但是,可以为一个Web应用程序提供/webapp的上下文根,而为另一个/webapp/ws

edit: however, it is possible to give one web application a context root of /webapp and the other /webapp/ws

这篇关于多个项目可以具有相同的上下文根吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆