RedirectServlet is used to redirect the request to the specified
URL.
Parameters
permanent
|
Whether to response with moved permanently or moved temporarily.
y is used to response with moved permanently and n is
used to response with moved temporarily.
n is the default.
|
url
|
A mask for the url to redirect to.
|
Aliases
Alias: /reports/eoy_report.html
Type: Servlet
Resource: staticRedirectServlet
Alias: /docs
Type: Servlet
Resource: dynamicRedirectServlet
Servlets
Alias: staticRedirectServlet
Class File: stec.iws.RedirectServlet
Parameters: url=/reports/eoy/2002/report.html
Alias: dynamicRedirectServlet
Class File: stec.iws.RedirectServlet
Parameters: url=%protocol%://%hostname%_alt:%port%%raw_request_uri%
Notes
Requires that iws_dir/classes/optional.jar be
present in the CLASSPATH.
URL mask can contain literal text and the following variables:
%context_path%
|
The Servlet Context path of the request.
|
%hostname%
|
The name of the server that the request was made to.
|
%path_info%
|
Any path info.
|
%port%
|
The port number that the request was made to.
|
%protocol%
|
The HTTP request protocol.
|
%query_string%
|
Any query string.
|
%raw_request_uri%
|
The raw requested URI.
|
%request_method%
|
The method used to make the request.
|
%request_uri%
|
The requested URI.
|
%script_name%
|
The script path.
|
|