1 Reply Latest reply on Dec 1, 2010 5:33 PM by kragoth

    Getting Url Value in a filter

    asc

      Hi All,
             I want to read the URL in a perticular filter.can any one help me ,if have any idea about this.


      The Code segment which i have written :




      public class UrlFilter implements Filter {
      
           public void destroy() {
                // TODO Auto-generated method stub
      
           }
      
           public void doFilter(ServletRequest request, ServletResponse response,
                     FilterChain filterChain) throws IOException, ServletException {
                filterChain.doFilter(request, response);
                
      
           }
      
           public void init(FilterConfig arg0) throws ServletException {
                // TODO Auto-generated method stub
      
           }
      
      }



      I want to read the uRl value in doFilter.


      Thanks in advance.