I'm using a servlet to set cookies and then redirecting to a jsp.
The servlet works fine if I access it with http://127.0.0.1:8080/servlet, or http://localhost.localdomain:8080/servlet. However, it does not set any cookies if I do http://localhost:8080/servlet.
I am using JBoss with Tomcat, version jboss-3.2.1_tomcat-4.1.24.
Are you using Cookies directly? If you are then, why not use the Session stuff instead? Have you tried it with the Session stuff instead of with cookies?