Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tomcat 3.1

 
Bob Moranski
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
either
a) response.setStatus(response.SC_MOVED_TEMPORARILY);
response.setHeader("Location", newURL);
b) response.setHeader("Refresh", "1", newURL);
Thanks for any kind answers.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic