Database Reference
In-Depth Information
and a forward was done to /ui/login.xq , the resulting request would be to http://
localhost:8080/exist/apps/ui/login.xq .
servlet passes control to another servlet. Read more about this in “Advanced
URL Control” on page 203 .
If absolute is set to "yes" , interpret the url attribute as a path on the filesystem,
relative to the $EXIST_HOME/webapp directory, even when the controller is
stored in the database. The default is "no" .
For instance, <forward url="/extra/admin.xq/" absolute="yes"/> will for‐
ward control to $EXIST_HOME/webapp/extra/admin.xq .
method sets the HTTP method to use when passing the request to the next step in
a pipeline. More about pipelines can be found in “Advanced URL Control” on
page 203 . The default is "POST" .
A forward element can contain the following additional children:
• The add-parameter element lets you add or override a request parameter:
<add-parameter name = string
value = string />
• The set-attribute element sets a request attribute :
<set-attribute name = string
value = string />
You can inspect request attributes through eXist's request extension module.
There's more about request attributes and how they differ from parameters in
“The request Extension Module” on page 209 .
• The clear-attribute element clears a request attribute:
<clear-attribute name = string />
In rare circumstances this is necessary when constructing a pipeline. Read more
about pipelines in “Advanced URL Control” on page 203 .
• The set-header element sets an HTTP header field:
<set-header name = string
value = string />
URL rewrite caching
You can enable URL rewrite caching by adding a cache-control child element to the
dispatch element:
Search WWH ::




Custom Search