What is a filter?

A filter is used to dynamically intercept request and response objects and change or use the data present in them. Filters should be configured in the web deployment descriptor. Filters can perform essential functions like authentication blocking, logging, content display style conversion, etc.

This Servlet tutorial was added on 19/04/2008.

Comments on "What is a filter?" Tutorial:

  1. BALAJI says:

    its very useful to me..
    thanQ

  2. Basa says:

    Would be better if you could include code snippet.

  3. B Khandekar says:

    It is a better collection. Helped me a lot
    Thanks

  4. Biswabrata Banerjee says:

    All the questions and Answers in this site are very clearly explained.I really appreciate this contribution.

  5. ACMSuresh says:

    Thank You Sir, I will pray for you to do your service
    best..

  6. Satish says:

    The detail look very brief. Could you go with a demonstrating example. At least the xml config and implementing interface with mandatory method names please?

  7. naresh says:

    i want more information abt filters

  8. namrata says:

    i m not getting d idea of filters clearly …cud u pls explain it more briefly???
    the blog is very gud…n simple…

  9. bhabani Padhy says:

    I need some information how to load external resources into the application at run time, If possible explain it with a small example.

  10. Anonymous says:

    thanks, excellent man

  11. Anil says:

    very well formed information on all topics..

  12. bhanu says:

    Hi, it will be more worth if you have provide any example for filter

  13. Mohit says:

    Dear Joe,

    Can u put some example on this topic ?

  14. Anonymous says:

    nice

Comments are closed for this "What is a filter?" tutorial.