diff --git a/designer-base/src/main/java/com/fr/start/server/ForbidType.java b/designer-base/src/main/java/com/fr/start/server/ForbidType.java deleted file mode 100644 index 4dac8a69f3..0000000000 --- a/designer-base/src/main/java/com/fr/start/server/ForbidType.java +++ /dev/null @@ -1,29 +0,0 @@ -package com.fr.start.server; - -import javax.servlet.*; -import java.io.IOException; -import javax.servlet.http.HttpServletResponse; - -public class ForbidType implements Filter { - private String message; - - public void init(FilterConfig config) throws ServletException { - message = config.getInitParameter("msg"); - - System.out.println("Filter is ready."); - } - - @Override - public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, ServletException { - System.out.println(message); - - HttpServletResponse response = (HttpServletResponse) servletResponse; - - response.sendRedirect("/webroot/decision"); - } - - public void destroy() { - - } - -} \ No newline at end of file