Dashboard > RIFE > ... > Web engine > Deferment and forwarding to elements
RIFE Log In | Sign Up   View a printable version of the current page.
Deferment and forwarding to elements


Added by Geert Bevin, last edited by Geert Bevin on Nov 05, 2004
Labels: 
(None)

The defer() and forward(String url) element methods permit better integration of RIFE applications with in-container and external web applications.

The defer() method will only work if RIFE is used as a servlet filter (which is its default mode of operation). It simply interrupts any RIFE processing immediately and makes the servlet engine continue the processing of the filter chain.

The forward(String url) method is like the standard servlet forward method, except that it goes much further. You can provide it with any URL, both local and remote. It will send a request to that URL and output its response through the response of the element that executed the forward.



Are you enjoying Confluence? Please consider purchasing it today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.1a Build:#515 May 19, 2006) - Bug/feature request - Contact Administrators