Documentation Archive Developer
Search
PATH  Documentation > WebObjects 4.5 > Deploying WebObjects Applications

 

The WebObjects Application URL

The typical WebObjects application URL has the following format:

http:// host [: port ]/ cgi-bin / WebObjects / App [[.woa][/ instance ]/ key /...

where the variables are defined as follows:

Variable
Description

host

The host name of your computer or localhost .

port

The port number. This is included if you want to direct connect.

cgi-bin

The cgi-bin directory of your server, usually cgi-bin or Scripts .

WebObjects

The name of the CGI adaptor, usually WebObjects or WebObjects.exe .

App

The application name. The WOApplicationBaseURL option provides the path to the application.

instance

The application instance number.

key

The request handler key. This key specifies which WORequestHandler object should be used to process the request., and is typically either "wo" (the component request handler) or "wa" the direct action request handler).

...

Information specific to the request handler. Each WORequestHandler uses a different format for the rest of the URL.

The two main request handlers are WOComponentRequestHandler and WODirectActionRequestHandler. The WOComponentRequestHandler's format for the rest of the URL is:

componentName / sessionID / elementID

WODirectActionRequestHandler handles direct actions. Its URLs have this format:

[ actionClass | actionName | actionClass / actionName ][? key = value & key = value .....]

For more detailed information, see the WebObjects Developer's Guide .

 


© 1999 Apple Computer, Inc. – (Last Updated 25 August 99)