0
|
1 package nabble.view.web.util;
|
|
2
|
|
3 import java.io.IOException;
|
|
4 import javax.servlet.ServletException;
|
|
5 import javax.servlet.http.HttpServlet;
|
|
6 import javax.servlet.http.HttpServletRequest;
|
|
7 import javax.servlet.http.HttpServletResponse;
|
|
8 import nabble.view.lib.Shared;
|
|
9
|
|
10
|
|
11 public final class Redirect extends HttpServlet {
|
|
12
|
|
13 protected void service(HttpServletRequest request,HttpServletResponse response)
|
|
14 throws ServletException, IOException
|
|
15 {
|
|
16 Shared.javascriptRedirect(request,response,request.getParameter("url"));
|
|
17 }
|
|
18 }
|