This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
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!