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
Is arraylist a class in java?
What is downcasting?
What is tochararray in java?
Why static functions are used?
What is the difference between the paint() and repaint() methods?
What is the difference between heap memory and stack memory?
What will happen if non-synchronized method calls a static synchronized method and what kind of lock it acquires?
Can subclass overriding method declare an exception if parent class method doesn't throw an exception?
What is the Scope of Static Variable?
Explain the reason behind ending a program with a system.exit(0)?
How to create a thread in java?
What is the integer of 16?
Explain the differences between static and dynamic variables?
Is empty .java file name a valid source file name?
What is the program development process?