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
Given the request path below, which are context path, servlet path and path info?
How can we implement a jsp page?
What do you mean by cgi in servlet?
How can you create a session in servlet?
Why HttpServlet class is declared abstract?
List out difference between a JavaBean from a Servlet?
What is the use of servlet wrapper classes?
Why do we have servlet wrapper classes?
What is meant by cookies?
How can an existing session be invalidated?
What are the difference between RMI and Servlets?
Explain is servlet mapping?
Why doesn’t a servlet include main()? How does it work?
What is servlet and its use?
what is servlet chaining?