path = path.substring(path.lastIndexOf('.') + 1); path = "/" + path + "/" + path + "/"; getServletRequest().setURL(path + url); path = path.substring(path.lastIndexOf('.') + 1); path = "/" + path + "/" + path + "/"; getServletRequest().setURL(path + url);