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 do you mean by httpservlet?
How can you push data from an Applet to a Servlet?
What are the disadvantages of storing session state in cookies?
what is servlet chaining?
why business logic written using servlets not in jsp. Jsp used for presentation purpose. serlvet used for coding business logic and controller logic. Reason for using servlets in business logic.
Can we use threads in Servlets?
What are the types of an http request?
Explain the working of service() method of a servlet.
What is the inter-servlet communication?
What is a servlet-to-servlet communcation?
Explain url encoding?
Differentiate between the get and post method