This is a static page, forwarded to from a Tapestry listener method.

Note that internal resources are forwarded to, not redirected to. Tapestry uses RequestDispatcher.forward(ServletRequest, ServletResponse) for internal resources (this is the same way an ordinary servlet would forward to a JSP to render a response).

The only downside of this is that the URL for this "page" is complex, typically something like:

http://localhost[:8080]/tutorial/workbench/direct/Redirect/internal

This makes it awkward to create relative paths (at least in static HTML). This is less of an issue in a JSP, since it can write a dynamic <base> tag (the same way Tapestry does) to allow easy relative paths.

You may return to the Workbench.

© 2000-2002 Howard M. Lewis Ship.