This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv 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 REST with Spring (video course) this week in the Spring 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.
It is sorta covered in the JavaRanch Style Guide.
subject: tomcat 3.1
It's not a secret anymore!