crackyourinterview.com


To improves our performance please Like Share Subscribe(Will boost us)

What is Servlet Filter and its usage
Question Posted on 29 May 2020Home >> Java >> Servlet >> What is Servlet Filter and its usage

What is Servlet Filter and its usage
As we know filter is an object that is usally happened at the time of pre and post processing of request. And there are many task which are performed by filter such as logging, compression, encryption, conversion and decryption and input validation etc.
The servlet filter is pluggable and usaully we will defined entry in web.xml files. If we remove that entry then filter will automatically removed and we donot need to change the servlet.
Usage of Filter
(1)It will records all incoming requests
(2)Will helps in conversion
(3)It will logs the IP Addresses of computers which make the requests
(4)It helps in data compression
(5)It helps in encryption and decryption
(6)Its helps in validation of user input
0
0



.


Most Visited Questions:-

Deep Learning Questions Answers
Below are the different Deep Leaning Questions and answer a More...

Continuous Integration Questions Answers
Below are the 20 odd questions for CI or Continuous Integra More...

Derived relationships in Association Rule Mining are represented in the form of __________.
Derived relationships in Association Rule Mining are repres More...

What is Gulpjs and some multiple choice questions on Gulp
Gulpjs is an open source whihc helps in building Javascript More...

Microservices Architecture Questions Answers
Below are the different questions on Microservices Architec More...




Other Important Questions

Different methods of session management in servlets?

Advantage of using Servlet over CGI

Simplest definition of Servlets or what is Servlets

What is Servlet Filter and its usage






@2014-2022 Crackyourinterview (All rights reserved)
Privacy Policy - Disclaimer - Sitemap