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 can I send user authentication information while making URL Connection?

988


How would you create deadlock on your servlet?

1167


What is difference between cookies and httpsession?

1075


How we can create war file in servlet?

1109


What is httpservlet class?

1126


What is servlet instance?

1034


What do you mean by chaining in servlet?

1017


Explain the role of dispatcherservlet and contextloaderlistener.

1173


How to get the IP address of client in servlet?

1066


How forward () method is different from send redirect () method?

953


What is servlet container. how it works?

1125


How do cookies work in servlets?

1031


What is the need of session tracking in web application?

1011


Why are http servlets used in programming?

997


Explain url encoding?

976