# com.bea.wlw.netui.pageflow
PreviousPageInfo Class

public class PreviousPageInfo
extends `Object`
implements `Serializable`

Stores information about a previously-displayed page, as well as its initialization data. Used with `return-to="currentPage"` or `return-to="previousPage"` on `@jpf:forward`.

Hierarchy
  `Object`
  `PreviousPageInfo`

All Implemented Interfaces
  `Serializable`

## Constructor Summary

PreviousPageInfo(`ActionForward` forward, `ActionForm` form, `ActionMapping` mapping) Constructor which accepts the ActionForward used to display the page, the ActionForm used to initialize the page, and the associated ActionMapping, which represents the action that forwarded to the page.

## Method Summary

`public `ActionForm`` | `getForm`() Get the form bean that was used to initialize the page.
`public `ActionForward`` | `getForward`() Get the object that was used to forward to the page.
`public `ActionMapping`` | `getMapping`() Get information about the action that forwarded to the page.
`public void` | `setForm`(`ActionForm` form) Set the form bean that was used to initialize the page.
`public void` | `setForward`(`ActionForward` forward) Set the object that was used to forward to the page.
`public void` | `setMapping`(`ActionMapping` mapping) Set information about the action that forwarded to the page.

Methods from class `java.lang.`Object``
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

## Constructor Detail

### PreviousPageInfo

    public PreviousPageInfo(ActionForward forward,
                            ActionForm form,
                            ActionMapping mapping)

  Constructor which accepts the ActionForward used to display the page, the ActionForm used to initialize the page, and the associated ActionMapping, which represents the action that forwarded to the page.

## Method Detail

### getForm() Method

    public ActionForm getForm()

Get the form bean that was used to initialize the page.

#### Returns

the ActionForm instance that was used to initialize the page, or `null` if there was none.

### getForward() Method

    public ActionForward getForward()

Get the object that was used to forward to the page.

#### Returns

the ActionForward returned by the action that forwarded to this page.

### getMapping() Method

    public ActionMapping getMapping()

Get information about the action that forwarded to the page.

#### Returns

an ActionMapping that contains information about the action that forwarded to this page.

### setForm(ActionForm) Method

    public void setForm(ActionForm form)

Set the form bean that was used to initialize the page.

#### Parameters

form
  the ActionForm instance that was used to initialize the page.

### setForward(ActionForward) Method

    public void setForward(ActionForward forward)

Set the object that was used to forward to the page.

#### Parameters

forward
  the ActionForward returned by the action that forwarded to this page.

### setMapping(ActionMapping) Method

    public void setMapping(ActionMapping mapping)

Set information about the action that forwarded to the page.

#### Parameters

mapping
  an ActionMapping that contains information about the action that forwarded to this page.