On Thu, 5 Jul 2001, Uyttenhove Jan wrote:

> I used cookies, had some problems, but finally, it worked.
> How do you set your cookies?

Cookie cookie = new HttpCookie(name,value);
response.addCookie(cookie);

after some more fiddling around, it's working, dunno what i did to fix it,
but oh well.

although this brings up a secondary issue - should the Environment class
provide a abstract method to create cookies?  theoretically, my
cookie-creating-component shouldn't have to assume that it's operating on
an Http request...

- donald


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to