> From: Jonathan Mast [mailto:jhmast.develo...@gmail.com] > Subject: Re: Null value in response.sendRedirect() causes original url > to be invoked 20 times > > Obviously a NullPointerException is being thrown at some level,
Nope, no exceptions are being thrown. There is an explicit check for null way down in org/apache/tomcat/util/buf/MessageBytes.java to handle this and many other situations where a null string may be present. > but definitely not following the "spirit" of the java in general I think you will find numerous APIs where a null String reference is interpreted as an empty string - the host parameter of the URL constructor, for example - this is just one more of them; there are also many where a null String is treated as an error. Can you point to some documentation for this particular aspect of the "spirit" of Java? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org