Click
Click Examples

Navigation A

You are currently on page NavigationA.

Forward

To forward to NavigationB click here.
    setForward("/navigation-b.htm");
To forward to NavigationB passing the parameter 95 click here.
    getContext().getRequest().setAttribute("param", param);
    setForward("/navigation-b.htm");

Redirect

To redirect to NavigationB click here.
    setRedirect("/navigation-b.htm");
To redirect to NavigationB passing the parameter 95 click here.
    setRedirect("/navigation-b.htm?param=" + param);

Take notice of the different URLs in your browser when you use forward and redirect.

Please also see the Page Flow example.