1 package com.openinventions.webappfilter; 2 3 import org.apache.commons.logging.*; 4 import javax.servlet.*; 5 import javax.servlet.http.*; 6 7 public class ResponseServletFilter implements javax.servlet.Filter { 8 private static final Log log = LogFactory.getLog(ServletFilter.class); 9 10 public void init(FilterConfig filterConfig) throws ServletException { 11 } 12 13 public void destroy() { 14 } 15 16 public void doFilter (ServletRequest request, ServletResponse response, FilterChain chain) throws ServletException { 17 request.setAttribute("com.openinventions.webappsecurity.Direction", "backward"); 18 } 19 20 } 21 72 73 74 | Popular Tags |