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 |
What is the simpletimezone class in java programming?
why use interface? if interface declear a method implement in class. why direct implement method in class
Iterator in the HashMap is fail-safe means what?
Can we iterate through collection using for loop?
What is java regex?
What is java thread dump, how can we get java thread dump of a program?
what is dynamic method dispatch ?
27 Answers Fidelity, MUET, SDSF,
What is the benefit of using enum to declare a constant?
how to run ecllipse with jettyserver for windows environment using batch file
why ,we are using jsp and html.which one is better?
If goto and const is reserve words than why it is not work in java?
What is the immediate superclass of the Dialog class?