LiveHttHeaders is your friend ...
Lets assume I have this as foo.jsp:

<%
response.sendRedirect(null);
if (out!=null) {return;}
%>

http://localhost/foo.jsp

GET /foo.jsp HTTP/1.1
Host: localhost

HTTP/1.x 302 Moved Temporarily
Server: Apache-Coyote/1.1
Content-Type: text/html;charset=UTF-8
Content-Length: 0
Date: Fri, 26 Jun 2009 16:33:15 GMT


With no Location header in the response - some browsers will giveup. Others may redirect to the original URL. Others may do odder things.

-Tim

Jonathan Mast wrote:
A null value in bounce_url is causing the original Request url to be invoked
exactly 20 times, rather than dying with NullPointerException:

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to