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.