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 is the difference between 2 types of servlets?
Which interface must be implemented by all servlets?
What is the default HttpRequest method?
How can we refresh automatically when new data has entered the database?
What is servlet initializer?
How do you define a servlet?
What are the uses of servlets?
What do you mean by servlet context?
What is http servlet? Explain with the help of an example.
when will cookie information destroy?
What is connection pooling?
What is the procedure for initializing a servlet?