Class DispatchedDecorator

  • All Implemented Interfaces:
    Decorator
    Direct Known Subclasses:
    ExternalDispatchedDecorator

    public class DispatchedDecorator
    extends BaseWebAppDecorator
    Decorator that dispatches to another path in the Servlet Container (such as a JSP or path mapped to a Servlet).

    The Content and SiteMeshContext objects are passed to the decorator using the HttpServletRequest attributes CONTENT_KEY and CONTEXT_KEY.

    To dispatch to a decorator in another web-app on the same server, use ExternalDispatchedDecorator.

    Since:
    SiteMesh 3.0
    Author:
    Joe Walnes