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 is the dispatcher servlet?
How can the referrer and the target urls be used in servlet?
What’s the difference between genericservlet and httpservlet?
Describe the phases of servlet lifecycle?
What is the difference between genericservlet and httpservlet
What is the need of session tracking in web application?
What are the advantages of Servlet over CGI?
hi actully i hav form columns with origin and destination names .as like as i need to create one more column with name amount. my requirement is when i select origin and destination columns automatically i need to get amount from database.how can i. please tel me with relative code
Why filter is used in servlet?
Explain url encoding in servlet?
Difference between java beans & servlets?
Why is httpservlet declared abstract?
Differentiate between the web server and application server?
When to use doget() and when dopost()?
How do I know if java is running on linux?