|
From: SourceForge.net <no...@so...> - 2006-09-29 23:52:54
|
Feature Requests item #1568108, was opened at 2006-09-29 16:52 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684781&aid=1568108&group_id=119724 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: General Group: None Status: Open Resolution: None Priority: 7 Submitted By: Martin Haye (mhaye) Assigned to: Martin Haye (mhaye) Summary: Support HTTP 301 redirects Initial Comment: Redirects are useful in many circumstances. A couple examples: (1) forking off from dynaXML to an external service that takes care of displaying documents; (2) detecting whether JavaScript is enabled on a user's first access, then redirecting to the proper page to handle it. Currently if a servlet needs to redirect the user, JavaScript or a <meta> tag. Both of these have the problem that they mess up the back button -- the user no longer has the ability to return to the page they came from, because the redirect activates again immediately. HTTP supports a better alternative. If the servlet returns a 301 HTTP status code, the browser redirects without affecting the back button. XTF should provide a way for stylesheets to specify that a redirect should occur. Perhaps the best place for this would be in the queryParser/docReqParser stylesheets, or maybe it would be in the resultFormatter/docFormatter. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684781&aid=1568108&group_id=119724 |