Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Possible bug in 9.4 HttpServletResponse redirect?


On Thu, Jan 5, 2017 at 9:19 PM, Silvio Bierman
<sbierman@xxxxxxxxxxxxxxxxxx> wrote:
> Thank you for the info. Sounds plausible, I will fix that. So sendRedirect
> clears everything, sets the status and then then Location header, I guess.

Not sure why you keep mentioning sendRedirect().
You are using sendError() in the pseudo code you posted.

Either case, they each serve a very specific purpose (redirect and
error), so you cannot use them to send a normal response.

Simone Bordet
Developer advice, training, services and support
from the Jetty & CometD experts.

Back to the top