Two Laptop Bag
The moose likes Servlets and the fly likes tomcat 3.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "tomcat 3.1" Watch "tomcat 3.1" New topic

tomcat 3.1

Bob Moranski
Ranch Hand

Joined: Nov 22, 2000
Posts: 177
Hi, tomcat3.1 does not support setting cookies in servlets that do sendRedirect? So, can we still set cookies in servlets that do "sendRedirect" or can we use
a) response.setStatus(response.SC_MOVED_TEMPORARILY);
response.setHeader("Location", newURL);
b) response.setHeader("Refresh", "1", newURL);
Thanks for any kind answers.
I agree. Here's the link:
subject: tomcat 3.1
It's not a secret anymore!