public class RedirectUtils extends Object
Constructor and Description |
---|
RedirectUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
redirect(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String url)
Redirects to the specified URL.
|
public static void redirect(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String url) throws IOException
request
- the requestresponse
- the responseurl
- the URL to redirect toIOException
Copyright © 2023 CrafterCMS. All rights reserved.