PATH Documentation > WebObjects

Table of Contents

WORedirect


Inherits from:
WOComponent
WOElement
Object
Implements:
NSKeyValueCoding
NSKeyValueCoding.ErrorHandling
NSKeyValueCodingAdditions
NSValidation
WOActionResults
Cloneable
Serializable
Package:
com.webobjects.appserver


Class Description


WORedirect is a subclass of WOComponent that may be used to force the user's browser to redirect to another URL. You should only return this component as a response to an action method and never use it in an declarations file directly. This component can be useful, for example, if you have an image map with both static and dynamic actions.




Constructors



WORedirect

public WORedirect (WOContext aContext)

Description forthcoming.


Instance Methods



appendToResponse

public void appendToResponse(WOResponse aResponse, WOContext aContext)

Description forthcoming.

setURL

public void setURL(String aURL)

Sets the URL to which the user's browser should be redirected to aURL.

url

public String url()

Returns the URL to which the user's browser will be redirected when this component is returned.

© 2001 Apple Computer, Inc. (Last Published April 15, 2001)


Table of Contents