-->
edocs Home > Oracle WebLogic Server Documentation > Administration Console Online Help > Specify default

Specify default Web applications


The default Web application is presented to clients who do not specify a URI (or specify "/" as the URI). To deploy a Web application as a default Web application, set the value of the context-root element to "/" in its deployment descriptor.

You can specify the context-root element in the weblogic.xml deployment descriptor for Web applications that are packaged as a .war archive or exploded .war directory. If you package the Web application as part of an Enterprise Application (.ear archive or exploded .ear), specify the context-root in application.xml. The value of context-root in the application.xml file takes precedence over the value of context-root in weblogic.xml file.

For information on deploying a Web application in the Administration Console, see Deploy Web applications.

To deploy a Web application as part of an .ear archive or exploded .ear, see Deploying WebLogic Server Applications. } } (document.images){ dcs_imgarray[dcs_ptr] = new Image; dcs_imgarray[dcs_ptr].src = dcs_src; WT[myMeta.name.substring(3)]=myMeta.content; } if DCSext[myMeta.name.substring(7)]=myMeta.content; } } } } for (N in DCS){P+=A( N, DCS[N]);} for (N in WT){P+=A( "WT."+N, WT[N]);} for (N in DCSext){P+=A( N, DCSext[N]);} //} aCrumb=aCookie[i].split("="); if (crumb==aCrumb[0]){ return aCrumb[1]; } } return null; } i=0;i