Can filter be used as request or response?



Can filter be used as request or response?..

Answer / Kumari Purnima Singh

In Java Servlets, Filters are applied to requests and responses. They can access both the Request and Response objects.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Servlets Interview Questions

Can a servlet be called by passing its name as a parameter in the URL?

1 Answers   iFlex,


what is the difference b/w DispatchAction and LookUpDispatchAction?

1 Answers   Deloitte, iGate, Tech Mahindra,


Where do you define dispatcherservlet?

1 Answers  


How many servlet objects are created?

1 Answers  


If we disable cookies in our web page, what will happen?

6 Answers   Zensar,


What are the benefits of using servlet over cgi?

1 Answers  


what is the difference between servlets and struts?

3 Answers  


What is the difference between context parameter and context attribute?

1 Answers  


How to debug a servlet?

2 Answers  


why are extending GenericServlet and why are extending HttpServlet explain?

7 Answers  


Explain the difference between servlet and cgi?

1 Answers  


Which exception is thrown if the servlet is not initialized properly?

1 Answers  


Categories