Can multiple projects have the same context-root?

帅比萌擦擦* 提交于 2019-12-24 06:32:14

问题


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.

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


回答1:


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

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



来源:https://stackoverflow.com/questions/3468558/can-multiple-projects-have-the-same-context-root

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!