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...

explain filters in java?

Answer Posted / suresh royal

Filter is a special web resource program that is capable of
trapping the request and taking the response of other web
resource programs.

Filter is a interface .

A servlet program which is implemented javax.servlet.Filter
interface is called "Servlet Filter"

Filter having three methods..
==================================
init(FilterConfig fg)
DoFilter(SReq req ,Sres res,FilterChain fc)
destroy()

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I know if java is running on linux?

1049


How can the session in servlet can be destroyed?

1123


How does Cookies work in Servlets?

1119


What do you mean by web applications?

1118


What is meant by a servlet?

1044


What is the procedure of invoking different servlet in a different application?

961


What are different ways for authentication of servlet?

1009


What is servlet container?

1070


What is a servlet engine?

968


What are the different types of servlets?

969


Explain how does JSP handle run-time exceptions?

1038


Why is http protocol called as a stateless protocol?

952


Which event is fired at the time of project deployment and undeployment?

1260


What do you mean by chaining in servlet?

986


Explain request dispatcher and its methods.

944