PLEASE HELP - Jetty cookies don't work - fine in jboss

A

amatijaca

Hi there,

I am having a silly problem, which has sucked more time then it
deserves to...
I have a plain vanilla Jetty 6.1.4 (latest) deployed, and all runs
fine, except
in my Struts Action this does not work

Cookie info = new Cookie("pharmacology", "(e-mail address removed)");
info.setMaxAge(Integer.MAX_VALUE);
info.setPath("/MyPharma");
response.addCookie(info);

there is no exception at all, and all appears to work, but NO COOKIE
IS SET
in Firefox !! Now to make things interesting, JSESSIONID is being set
just
fine in Jetty...

Now, I take the exact same thing, and deploy to Jboss (with Tomcat),
and all
is well!!

What gives?? Do I need to configure Jetty that cookies work??

Thanks, Alex.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top