What is filter? Can filter be used as request or response?
Answer / 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 |
What are the uses of servlets?
What is the procedure of invoking different servlet in a different application?
Can we use threads in Servlets?
What are the uses of servlet
What is the difference between an applet and a servlet?
15 Answers GCEW, Miracle Solutions,
What are cookies and how will you use them?
How can we include static files in the jsp page?
What is servlet?
What is the difference between callling a RequestDispatcher using ServletRequest and ServletContext?
What do you mean by session tracking and also explain its techniques?
What is context switching?
How can you use a servlet to generate a plain text instead of html?