To start an application from a Web browser, enter the application URL
using the following guidelines:
The format of the URL is http://<host-name><:port>/virtual-path/application_name
.
The following substitutions are used in the URL:
<host-name>
-- The production machine
network host name.
<port>
-- The OC4J port number, if OC4J
is running in a standalone installation; otherwise, the port number
of the Web server.
/virtual-path
-- Includes the Web context
that you specified in the deployment profile.
Note: You can find the virtual path by examining the deployment
descriptor file (such as web.xml
).
/application_name
-- Servlet package and class
or JSP filename.
The following samples demonstrate URLs that you might use in a standalone OC4J instance where webapp represents the Web context root and 8888 represents the standalone OC4J port number or the Oracle HTTP Server Web Listener, if OC4J is part of Oracle Application Server:
JSP sample: http://myMachine.oracle.com:8888/webapp/myApplication.jsp
Servlet sample: http://myMachine.oracle.com:8888/webapp/servlet/mypackage.BIController1
For additional information, consult the following documents in the Oracle Application Server documentation.
Oracle Application Server Containers for J2EE Servlet Developers Guide
Oracle Application Server Containers for J2EE Users Guide