aspose file tools*
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "Problem with cookie" Watch "Problem with cookie" New topic
Author

Problem with cookie

George Smith
Greenhorn

Joined: Aug 10, 2005
Posts: 3
Hi
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