Click
Click Examples

Navigation B

You are currently on page NavigationB.

Forward

To forward to NavigationA click here.
    setForward("/navigation-a.htm");
To forward to NavigationA passing the parameter 120 click here.
    getContext().getRequest().setAttribute("param", param);
    setForward("/navigation-a.htm");

Redirect

To redirect to NavigationA click here.
    setRedirect("/navigation-a.htm");
To redirect to NavigationA passing the parameter 120 click here.
    setRedirect("/navigation-a.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.