最初是
http://localhost:8080/app/cool.do
如果是sendRedirect("foo/stuff.html")
那么the Container builds the full URL :
http://localhost:8080/app/cool/foo/stuff.html
如果是sendRedirect("/foo/stuff.html")
那么the Container builds the full URL :
http://localhost:8080/app/foo/stuff.html