tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vladi <>
Subject Redirect page from http11processor
Date Sat, 09 Feb 2008 03:57:26 GMT

Hi developers.

I want to redirect the client browser from the Http11Processor. To do that,
I create a "class CustomProcessor extends Http11Processor" and override the
process(socket) method.

I did try with methods above with IE or Mozilla but unsuccessfully. Instead
of that, The page cannot be displayed is shown.

response.setHeader("Location", ""); 
outputBuffer.sendHeader("Location", "");

I did try too with 

Response response = (Response)

but again, unsuccessfully. I saw that the
setNote(CoyoteAdapter.ADAPTER_NOTES) is perform after the process, because
is called in CoyoteAdapter.service(..) method.

The code sendRedirect works in a valve, but not in a processor nor protocol

Any Ideas to redirect to some page? Somebody do that in other way?

View this message in context:
Sent from the Tomcat - Dev mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message