what is servlet filter?
Answers were Sorted based on User's Feedback
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 |
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 |
Difference between java and javascript
Is empty set an element of empty set?
Is integer immutable in java?
Is 64bit faster than 32 bit?
Write a code to show a static variable?
How do you define a variable?
why java not supproting multiple inheritance?
What is google full form?
How are Observer and Observable used?
Explain difference between final, finally and finalize?
How do I get 64 bit java?
What is a singleton puppy?