wood burning stoves 2.0*
The moose likes Struts and the fly likes struts redirect and http status code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts redirect and http status code" Watch "struts redirect and http status code" New topic
Author

struts redirect and http status code

d latham
Greenhorn

Joined: Jul 11, 2008
Posts: 1
Struts seems to always put this in the response header when my ActionForward does a redirect:

HTTP/1.1 302 Moved Temporarily

I would like to change that status to a 303. Does anyone know if there is a way to set this in struts?
 
Don't get me started about those stupid light bulbs.
 
subject: struts redirect and http status code
 
Similar Threads
How do I redirect to a specific URL?
How can I map the root of servlet and send down a static page
forward() method of RequestDispatcher vs sendRedirect() on Response object
Cannot find bean 'out' in scope request?
POST and REDIRECT IN STRUTS 2...Need Help