Changing the context root for application

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 filefor the application</description>

<context-root>/Servlet_Ex03</context-root>

</weblogic-web-app>

It still doesn't work. Does anyone know how to do this ?

[922 byte] By [piampria] at [2007-10-2 18:52:44]
# 1
Have u deployed a Web Application or EAR appplication?If you have created a EAR application, then u need to change the application.xml file for the Context Root.Thanks and regards,Pazhanikanthan. P
pazhanikanthana at 2007-7-13 20:15:28 > top of Java-index,Enterprise & Remote Computing,AVK Portability...
# 2

hi,

I too have a similar doubt regarding the topic, but for a web application

The context root is set for the first page i.e., the login page alone and not for the remaining pages.

Please help regarding how to properly set the context root so that it works properly for the entire application

Thanks,

qw12qw12a at 2007-7-13 20:15:28 > top of Java-index,Enterprise & Remote Computing,AVK Portability...