Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is filter? Can filter be used as request or response?

Answer Posted / mahesh

A filter is a reusable piece of code that can transform the
content of HTTP requests,responses, and header information.
Filters do not generally create a response or respond to a
request as servlets do, rather they modify or adapt the
requests for a resource, and modify or adapt responses from
a resource.

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between using getSession(true) and getSession(false) methods?

1023


Write a program to show the functionality of doget and dopost method?

1200


When a client request is sent to the servlet container, how does the container choose which servlet to invoke?

1007


Define the lifecycle for executing a jsp page.

1064


What do you mean by annotations in servlet?

1048


What is the servlet?

1075


What are the types of servlet?

1280


What is the difference between jsp and servlet life cycle?

1205


How the servlet is loaded?

1060


What is the need of session tracking in web application?

1010


What is dispatcher servlet?

1045


Can we use the constructor, instead of init(), to initialize servlet?

1085


Write the code to get the server information in servlet.

1035


List some life cycle methods of a servlet.

1039


Explain servlet life cycle?

1110