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

Can you use javascript in servlets?

1088


What do you mean by url pattern in servlet?

1114


Write a servlet to upload file on server.

1104


What must be implemented by all servlets?

1103


Explain web application directory arrangement?

1069


What are the mechanisms used by a servlet container for maintaining session information?

1028


What is cookie? Why is cookie used?

1058


Elucidate servlet attributes and its scope?

1021


What is war file?

1098


What is meant by servlet? What are the parameters of the service method?

1032


What is cookie in servlet?

1060


How to read request headers from servlets?

1050


What is difference between PrintWriter and ServletOutputStream?

1294


What are the kinds of http requests?

1039


If some new data has entered the database, explain how can a servlet refresh automatically?

1296