Calling response.sendRedirect sets the HTTP status code to 302, and populates the 'location' response header. You almost always simply want to 'return;' from your Filter in this case (since the response is complete), rather than proceed with doFilterChain.
"Erik Price" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I wrote a filter, which performs a redirect *before* calling > doFilterChain(). It is mapped to "/main.jsp". I was hoping that this > would cause the redirect to occur *before* calling main.jsp, but that > appears not to be the case. Does the redirect occur afterward even > though I have not yet called doFilterChain() in my filter when I call > the redirect? > > > Thanks, > > Erik -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>