2 Replies Latest reply: Oct 31, 2006 4:25 AM by 843844 RSS

    Changing the context root for application

    843844
      Hi,

      I've deployed my application to Weblogic 8.1 server. But in order to access it I have to input the following URL:

      http://localhost:7001/Servlet_Ex03/WebRoot/

      I don't want to include the "WebRoot" fragment so I created a weblogic.xml file which looks like this :
      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE weblogic-web-app PUBLIC "-//BEA
      Systems, Inc.//DTD Web Application 8.1//EN" "http://www.bea.com/servers/wls810/dtd/weblogic810-web-jar.dtd">
      <weblogic-web-app>
      
           <description>Weblogic XML file for the application</description>
           <context-root>/Servlet_Ex03</context-root>
      </weblogic-web-app>
      It still doesn't work. Does anyone know how to do this ?