wood burning stoves
The moose likes Servlets and the fly likes Problem with cookie Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Problem with cookie" Watch "Problem with cookie" New topic

Problem with cookie

George Smith

Joined: Aug 10, 2005
Posts: 3
I have a problem with my application.
i have a right side html menu, and the links invokes java servlets.
when i press the menu link (any link) at the first time, the cookie doesn't send to the servlet.
but if i press again this menu link, the cookie from now and on send to the servlet.
I'm using Oracle OAS 4.0.
what can be the problem ?
Thanks !
Leandro Melo
Ranch Hand

Joined: Mar 27, 2004
Posts: 401
Didn't understand your problem very well.
I'd say that in your case, you want the servlet to sendo the cookie to the browser, no?

Leandro Melo
SCJP 1.4, SCWCD 1.4
Daniel Rhoades
Ranch Hand

Joined: Jun 30, 2004
Posts: 186
What are you using the cookies for? Are you using the HttpSession API to manage your session data?

Drinking more tea is the key...
I agree. Here's the link: http://aspose.com/file-tools
subject: Problem with cookie
It's not a secret anymore!