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 web server used for running the Servlets?
how to make the IP address to .com
Why are http servlets used in programming?
what is the control flow in servlet when we send a request?
What are the parameters of the service method ?
How is a servlet implemented in code?
When we don't write any constructor for the servlet, how does container create an instance of servlet?
What do you mean by cgi in servlet?
how to use servlets with j2ee ?
What is the default HttpRequest method?
What is the use of httpservletrequestwrapper?
What’s the difference between forward() and sendredirect() methods?