clean up the redirection.

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3371 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
Hugues Malphettes 2011-06-01 08:59:32 +00:00
parent af2050147c
commit c084756951
1 changed files with 2 additions and 1 deletions

View File

@ -85,7 +85,8 @@ public class EquinoxConsoleContinuationServlet extends HttpServlet implements On
if (request.getParameter("action")!=null)
doPost(request,response);
else
response.sendRedirect("index.html");
response.sendRedirect(request.getContextPath() + request.getServletPath()
+ (request.getPathInfo() != null ? request.getPathInfo() : "") + "/index.html");
}
// Handle Ajax calls from browser