Technical data

Web Applications
Administration Guide 8-7
For example, if your Web Application is called shopping, you would use the
following URL to access a JSP called
cart.jsp from the Web Application:
http://host:port/shopping/cart.jsp
If, however, you declared shopping as the default Web Application, you would access
cart.jsp with the following URL:
http://host:port/cart.jsp
(Where host is the host name of the machine running WebLogic Server and port is
the port number where the WebLogic Server is listening for requests.)
To designate a default Web Application for a server or virtual host, use the
Administration Console:
1. In the left pane, expand the Web Application node
2. Select your Web Application
3. In the right pane, select the Targets tab.
4. Select the Servers tab and move the server (or virtual host) to the chosen column.
(You can also target all the servers in a cluster by selecting the Clusters tab and
moving the cluster to the Chosen column.)
5. Click Apply.
6. Expand the Servers (or virtual host) node in the left pane.
7. Select the appropriate server or virtual host.
8. In the right pane, select the General tab
9. Select the HTTP tab (If you are configuring a virtual host, select the General tab
instead.)
10. Select a Web Application from the drop-down list labeled Default Web
Application.
11. Click Apply.
12. If you are declaring a default Web Application for one or more managed servers,
repeat these procedures for each managed server.