Skip to main content
Version: 4.6.x.x LTS

ServletMappingServlet

The ServletMappingServlet can map a servlet to any header, parameter, attribute and environment variable by conditions.

Classname:
ch::nevis::isiweb4::servlet::mapping::ServletMappingServlet

Library:
libServletMappingServlet.so.1

Configuration

ServletRules

  • Type: Newline separated list of conditions and one servlet name
  • Usage Constraints: required, conditional
  • Supported pragmas: break
  • Syntax: Condition: [<SOURCE>]:<VARIABLE>:<expression> <servlet-name>
  • Sample: Condition:HEADER:Foo:.*anything.*aServletName; Condition:HEADER:Foo:.*other.*anotherServletName

Maps a servlet conditionally based on headers, parameters, attributes and environment variables.