What is filter? Can filter be used as request or response?
Answer Posted / mahesh
A filter is a reusable piece of code that can transform the
content of HTTP requests,responses, and header information.
Filters do not generally create a response or respond to a
request as servlets do, rather they modify or adapt the
requests for a resource, and modify or adapt responses from
a resource.
| Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
What is a servlet-to-servlet communcation?
What is called servlet container?
What’s the difference between forward() and sendredirect() methods?
What's the use of servletcontext?
Is servlet a server side scripting language?
What do you understand by mime type?
Why session tracking is needed?
How do I support both get and post from the same servlet?
What is the default http method in the servlet?
What is the procedure of invoking different servlet in a different application?
What do you mean by url pattern in servlet?
How to generate the server side programming and the advantages of it over the other languages?
What are the advantages of servlets over traditional cgi?
What is Servlets and explain the advantages of Servlet life cycle?
What is the main purpose of java servlets?