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 must be implemented by all servlets?
Can we refresh servlet in client and server side automatically?
What are the types of Session Tracking ?
What is servlet initializer?
What are the differences between the servletconfig interface and the servletcontext interface?
What is session tracking?
What is servlet in simple terms?
What are the differences between forward() method and sendredirect() methods?
What's the difference between authentication and authorization?
Explain how does JSP handle run-time exceptions?
What is the web server used for running the Servlets?
Explain the working of service() method of a servlet.
how the HTML data stored in web server?
Is java servlet still used?
What is the use of httpservletresponsewrapper?