Possible Duplicate:
servlet vs filter
I am java beginner. Now I am learning about filters. What is the difference between servlet & filter. I have read about filter,
a filter is an object that can transform a request or modify a response. Filters are not servlets; they don't actually create a response
I am not able to understand that. Can any one explain it to me.