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 singleton class be cloned?
Can we instantiate interface in java?
How to sort a collection of custom Objects in Java?
What are the main differences between the java platform and other platforms?
What’s the difference between the methods sleep() and wait()?
What are the types of web technologies?
Do I need java on my computer?
Explain the difference between serializable and externalizable in java?
Tell some latest versions in JAVA related areas?
Program to Find the second largest element in an array.
How do you access command-line arguments within the code?
How can you make sure that your singleton class will always return single instance in multi-threaded environment?
Can variables be used in java without initialization?
What is incompatible types in java?
Can we sort hashmap in java?