InterviewSolution
| 1. |
What Is Filter? Can Filter Be Used As Request Or Response? |
|
Answer» 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. 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. |
|