----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Hi there,
I am a Computer Engineering graduate in Brazil, and I am doing my final
graduation work about Servlets, which is due for this month,
so PLEASE!! give me some help on this.
I have tried to do put my CookieServlet to work, but it doesnt. I ve
been using Apache(1.3.9)+Jserv(1.0)+(JSSI and GNUJSP modules
attached)+Windows98 for two months and testing within localhost. My
servlet is as simple as follows:
res.setContentType("text/html");
ServletOutputStream out = res.getOutputStream();
Cookie myCookie = new Cookie("dumb","This is a dumb
cookie");
myCookie.setMaxAge(60*60*24); //one day long
res.addCookie(myCookie);
There is some little code to read the cookie I ve just put, but it cant
find any cookie.
I got two bowsers , but both of them are set to accept cookies. When I
run the CookieServlet and look into the cookie directory (or file), I
cant find anything!
I think it is something about Apache JServ, but I cant figure out what
it could be. Thanks in advance!
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search Archives:
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]