The spec doesn't dictate that the parameter to sendRedirect must be non-null.
So the behavior probably varies by container. Other containers might throw NPE.
-Tim
Antony Paul wrote:
Hi,
What will happend if response.sendRedirect(null) is called. It is giving
a directory listing. No error is
Hi,
What will happend if response.sendRedirect(null) is called. It is giving
a directory listing. No error is thrown. Is this as per the spec ? I am
using Tomcat 4.1.27 with JDK 1.3.1
rgds
Antony Paul
-
To unsubscribe, e-mail