tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From klas Järgenstedt <>
Subject cookies problem...going crazy
Date Sun, 25 May 2003 21:29:48 GMT

I have this huge problem.
My servlet has this code:
 Cookie cookies[] = request.getCookies();   
    for(int i=0;i<cookies.length;i++){

Problem is that servlet  dies when executing cookies.length;

Errorlog like:
2003-05-23 04:34:27 StandardWrapperValve[pk]: Servlet.service() for 
servlet pk threw exception
        at javax.servlet.http.HttpServlet.service(
        at javax.servlet.http.HttpServlet.service( is the line with cookies.length

Looks like my jakarta-tomcat-4.1.10 doesn't want to work with cookies.
Can you help me?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message