Answer Posted / 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 |
Post New Answer View All Answers
Can we override private constructor in java?
Can main() method in java can return any data?
What are different types of encoding?
What restrictions are placed on method overloading in java programming?
Explain restrictions on using enum?
What is a native method in java programming?
What is the SimpleTimeZone class?
What are the types of collections in java?
Give an example of use of pointers in java class.
What is the difference between static and global variables and also define what are volatile variables?
What is thread pool? How can we create thread pool in java?
Can a class be declared as static?
Is nan false?
How to sort a collection of custom Objects in Java?
What is the difference between break and continue statements?