jodd-servlet/src/main/java/jodd/servlet/DispatcherUtil.java
public static void redirect(final HttpServletRequest request, final HttpServletResponse response, String url) throws IOException {
		if (url.startsWith(StringPool.SLASH)) {
			url = ServletUtil.getContextPath(request) + url;
		}
		response.sendRedirect(response.encodeRedirectURL(url));
	}
public static void redirect(final HttpServletRequest request, final HttpServletResponse response, String url) throws IOException {
		if (url.startsWith(StringPool.SLASH)) {
			url = ServletUtil.getContextPath(request) + url;
		}
		response.sendRedirect(response.encodeRedirectURL(url));
	}
public static void redirect ( final HttpServletRequest request , final HttpServletResponse response , String url ) throws IOException { if ( url . startsWith ( StringPool . SLASH ) ) { url = ServletUtil . getContextPath ( request ) + url ; } response . sendRedirect ( response . encodeRedirectURL ( url ) ) ; }
Performs redirection (302) to specified url.
Performs redirection ( 302 ) to specified url .