tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oki DZ <ok...@pindad.com>
Subject Re: Tomcat redirect
Date Tue, 07 May 2002 00:17:55 GMT
On 05/07 04:19 joshua wentworth wrote:
> I am trying to have Tomcat redirect certain requests to other applications
> or other sites. But I can't find anything in the documentation or in any of
> the messageboards about any kind of forward or redirect function in Tomcat.
> Is there such a function, and if so where can I find documentation on it?

You can use the following in my index.jsp, so that the main page will be 
redirected to some other location: <%
response.sendRedirect(response.encodeRedirectURL("<new URL>"));
%>

Oki



--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message