Servertec RedirectServlet
Content
Introduction
Release Notes
Features
FAQs
Requirements
Installation
How To
Change Log
Future Plans
Knowledge Base
Documentation
Conventions
Command Line
Administrator
Localization
Programming
Security
Performance
Deployment
Server API
Servlet / JSP API
Xerces API
CGI
SSI
Servlets
AdminServlet
CgiServlet
ClusterProxy
ClusterRedirector
CommandServlet
FileServlet
InvokerServlet
JspServlet
MessageServlet
RedirectServlet
ServletTagServlet
SSIncludeServlet
StatusServlet

Config Files
Log Files
Classes
Directory Tree
Examples
Legal
Contact Us

 

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

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.
 top of page
Copyright © 1998-2005 Servertec. All rights reserved.
Privacy Statement.
Last Modified: Sun Sep 04 14:57:18 EDT 2005