tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Weis <>
Subject Redirecting from a RequestInterceptor
Date Tue, 03 Apr 2001 14:00:13 GMT


I am trying to write a request interceptor and redirect users to other
(non-JSP) url's based on the contents of the URL. I've tried to do
things like use request.setRequestURI() and make my own Response with a
Location header and then use request.setResponse(), both in the
requestMap function. I'm guessing requestMap should return the http
status code, but I can't figure out how to set the URL portion.

Thanks for any help.


Dave Weis

View raw message