How can I use Weblogic (12 C) without the application context in the URL?

僤鯓⒐⒋嵵緔 提交于 2019-11-29 14:32:38

In application.xml specify the below setting

       <web>
          <web-uri>yourweb.war</web-uri>
          <context-root>/</context-root>
       </web>

Now you can make a call without context root as

        http://localhost:7001/

I assume because you are using weblogic you deploy a java application.

The structure should be a 'war' file.

More info on the structure you can find here.

http://www.openscope.net/2010/01/25/war-deployment-file-structure/

The name of the context root (by default name of the war) might be as well overridden

https://forums.oracle.com/forums/thread.jspa?messageID=10366462

Hope it helps.

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