A filter is an object that can transform content and header of a request or response. Filter provides functionality which can be “attached” to any web resource. Servlet used for performing action which needs for particular request as user login, get response based on user role, interacts with database for getting data, business logic execution, and more. Filter serve different purpose and servlet serve different purpose. | 0 |
By: [email protected] On: Wed Oct 08 18:37:27 IST 2014 0 392 0 | 392 |
Are You Satisfied :0Yes0No |
Filters can be invoke before and after the invovation of a Servlet. Its entry is defined in web.xml file. | 0 |
By: [email protected] On: Sat Oct 11 15:54:31 IST 2014 0 0 0 | 0 |
Are You Satisfied :0Yes0No |