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 |
Describe in brief RequestDespatcher?
When should you prefer to use doget() over dopost()?
What is Servlet Context?
What do you mean by annotations in servlet?
When the methods init() and Distroy() will be called?
What is servletconfig?
How can you use a servlet to generate a plain text instead of html?
In servlets, Why do we need both GET and POST method implementations?
Explain their methods? Tell me their parameter names also have you used threads in servlet?
Write a command to get actual path of a servlet to the server?
Hi Friends, Suppose you have a web appliction which consists of 100 clients are connected with Connection pooling and they are associated with 100 connection objcet and connected with DB sever,Due some problem DB-Server suddenly crashed and server came to down state for a while after few minutes DB-server once again up,Now how will I manage my Pool Management with my 100 clients...can any one tell me??????????????????
How a servlet is unloaded?