tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arion Yu <ario...@stt.com.hk>
Subject [PATCH]Cookies in 3.3dev
Date Fri, 20 Oct 2000 03:45:27 GMT
Running the Cookie Example would give the following error:

2000-10-18 02:17:34 - Context: Exception in R( /examples +
/servlet/CookieExample + null) - java.lang.NullPointerException
        at javax.servlet.http.Cookie.isToken(Cookie.java)
        at javax.servlet.http.Cookie.<init>(Cookie.java)
        at
org.apache.tomcat.facade.CookieFacade.<init>(CookieFacade.java:87)
        at
org.apache.tomcat.facade.HttpServletRequestFacade.getCookies(HttpServletRequestFacade.java:166)

        at CookieExample.doGet(CookieExample.java:52)

Here is the patch.

Enjoy!

Arion

--
[This email and any files transmitted with it are confidential and may
contain information that is legally privileged. They are intended solely
for the addressee(s). Access to this email by anyone else is
unauthorized. If you are not the intended recipient, please delete it
and notify the sender by email immediately; you should not copy or use
it for any purpose, nor disclose its contents to any other person. Thank
you.]


Mime
View raw message