Hi.
 
I'm using:
    - jakarta-tomcat-4.0-b1
    - Apache-1.3.17
    - Linux RH 6.1 krnl 2.2.12
    - mod_webapp 1.8
    - JSDK2.0
    - jdk1.3.1
 
I'm trying to run servlet through mod_webapp.
this will print headers and one of them cookie. I recive for example 3 cookies
 
        Enumeration e = request.getHeaderNames();
        while (e.hasMoreElements())
        {
            String headerName = (String)e.nextElement();
            String headerValue = request.getHeader(headerName);
            out.println("headerName);
            out.println("headerValue");
        }
 
But the following code prints "0"

    Cookie[] cc = request.getCookies();
    out.println(cc.length);
 
the same code working with tomcat stand alone prints all OK
 
 
It looks like problem with mod_webapp.....
 
any ideas?
if any one have the same problem please replay.....
 
 

D.Lion
Webmaster of Media Group Logos
 

Reply via email to