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?

Answers were Sorted based on User's Feedback



explain filters in java?..

Answer / srikanth

filters are used to preprocessing and postprocessing of
tasks like login,authorization,data compression,data
encoding etc

for this u need to override intit(),dofilter(),and destroy()

Is This Answer Correct ?    16 Yes 0 No

explain filters in java?..

Answer / 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

More Servlets Interview Questions

What are the ways to handle multi-threading in servlets?

0 Answers  


How threads are implemented in servlets?

3 Answers  


What is the purpose of requestdispatcher interface?

0 Answers  


What is the major difference between servlet and applet?

0 Answers  


How can we include static files in the jsp page?

0 Answers  


How can we upload the file to the server using servlet?

0 Answers  


How can we refresh automatically when new data has entered the database?

0 Answers  


What is the difference between jsp and servlet life cycle?

0 Answers  


Hi Friends, Can we make any method thread safe withour synchronized keyword?

2 Answers  


when the webcontainer creates ServeletConfig,ServletContext objects? befoure creating the Servlet object or not?

4 Answers   TCS,


What is ServletConfig object?

0 Answers  


What is servlet and how it works?

0 Answers  


Categories