Filtering Requests and Responses in Servlet

A filter is helped to transform the header or content or both of a request or response. A filter is an object. Actually, filters don’t create a response; they are pre-processors of the request before it reaches a servlet, and/or post processors of the response leaving a servlet. The web components in that they usually […]