Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

Wiki Markup
{scrollbar}

Request Processing

Contents

Table of Contents
excludeContents|Request Processing

How do I get Tapestry to not handle a request?

Often, when integrating with outside libraries, or working with legacy code, you will want Tapestry to ignore a request and let the normal servlet or other processing handle the request.

The easy way to do this is to contribute a regular expression to the IgnoredPathsFilter service, whose job is to exclude some requests.

Code Block

public static void contributeIgnoredPathsFilter(Configuration<String> configuration)
  {
    configuration.add("/dwr/.*");
  }

...

Alternately, you can configure the Tapestry application to execute inside a folder to avoid conflicts. See the notes on the configuration page.

Wiki Markup
{scrollbar}