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
Why use string handling in Java?
What is application tier?
What is the difference between the Reader/Writer class hierarchy and the InputStream/OutputStream class hierarchy?
How do you remove spaces in java?
Why do we use bufferedreader?
What is structure of java heap? What is perm gen space in heap?
What are green threads in java?
State the main difference between c++ and java?
Can you sort a string in java?
What are java packages?
Why string is immutable with example?
what do you understand by the term string with respect to java?
What is the range of a character variable?
How do you include a string in java?
What do heavy weight components mean in java programming?