On Sun, 12 Aug 2001, Ross Inglis wrote:
>
> For the record I tried Tomcat 4.0b7. I can confirm that it does not have the
> problem demonstrated by the RequestInfoExample servlet as above, but other
> problems (a null pointer exception somewhere in my cookie code) stopped me
> from testing it with my servlets. I'll get back to it later (beta-8 maybe
> :-)
>
Don't forget to look at *your* code too :-).
It is legal for HttpServletRequest.getCookies() to return null if there
are no cookies included on the request. Tomcat 4 used to return a zero
length array, but no returns null to conform to the Javadocs.
>
> Ross.
>
Craig