what is servlet filter?

Answers were Sorted based on User's Feedback



what is servlet filter?..

Answer / dileep

In http servlet contains doget,dopost methods etc and it
takes two parameters only namely as
HttpServletRequest,HttpServletResponse and in Filter
concept contain one method has doFilter method .it takes 3
parameters namely as
HttpServletRequest,HttpServletResponse,FilterChain.the
Filter chain is use to convert one filter to another filter
Filters are mainly used for filtering the components and we
can do any modifications using Filters.

Is This Answer Correct ?    10 Yes 1 No

what is servlet filter?..

Answer / jeh

Filter is a web component for web based applications. It
intercepts the request before calling service method and
process the response after executing the service method.
Filter mainly validates the client submitted data

Is This Answer Correct ?    2 Yes 2 No

Post New Answer

More Core Java Interview Questions

What is anagram in java?

0 Answers  


What are packages and name a few?

4 Answers  


What is the list interface in java programming?

0 Answers  


when we create singleton design then we create private constructtor..so how JVM take private constructor to make object..but it's private..

1 Answers   Ness Technologies,


Can an object be null?

0 Answers  






What are multiple inheritances?

0 Answers  


Where is core java used?

0 Answers  


If a method is declared as protected, where may the method be accessed in java programming?

0 Answers  


What are the main uses of this keyword?

0 Answers  


What is thread safe singleton?

0 Answers  


What is rule of accessibility in java?

0 Answers  


Which method will get invoked first in a stand alone application?

1 Answers  


Categories