You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Antonio Sanso (JIRA)" <ji...@apache.org> on 2016/07/29 16:22:20 UTC

[jira] [Created] (SLING-5925) Improve RedirectServlet response

Antonio Sanso created SLING-5925:
------------------------------------

             Summary: Improve RedirectServlet response
                 Key: SLING-5925
                 URL: https://issues.apache.org/jira/browse/SLING-5925
             Project: Sling
          Issue Type: Improvement
          Components: Servlets
            Reporter: Antonio Sanso
            Assignee: Antonio Sanso
            Priority: Minor


The {{RedirectServlet}} response does currently 

{code}
response.setHeader("Location", targetPath);
{code}

it would be nice to use the standard

{code}
response.sendRedirect(targetPath);
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)