PATH  WebObjects 4.0 Documentation > What's New in WebObjects 4.0

Table of Contents Previous Section

WOContext Changes

The following methods have been added to WOContext to return information from the request URL:
WOContext
Method Description
directActionURLForActionNamed:queryDictionary: (Objective-C) directActionURLforActionNamed (Java) Returns the complete URL for the specified action.
componentActionURL Returns the complete URL for the component action.
urlWithRequestHandlerKey:path:queryString: (Objective-C) urlWithRequestHandlerKey (Java) Returns a URL relative to cgi-bin/WebObjects.
completeURLWithRequestHandlerKey:path:queryString:isSecure:port: (Objective-C) completeURLWithRequestHandlerKey (Java) Returns the complete URL for the specified request handler.

Table of Contents Next Section