Servlet Chaining? How do you do the Filtering in Servlets?

Answer Posted / kishore m

Filters have the same name with the servlet name .in this
way we have to mention in deployment discripter i.e.web.xml
in application.In this filters are enabled by calling the
servlet.actually filters placed in b/w the client and
server.

Is This Answer Correct ?    5 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between servlet and cgi?

694


what is the different between a servlet and a cgi? Why do you go for servlet rather than cgi?

647


What is the requirement of servlet config and servlet context implemented and how are they implemented?

632


Who is responsible to create the object of servlet?

810


Explain load on start-up and its importance?

695






What is servlet and how it works?

583


Why is init() method is used in servlets?

622


Explain the difference between servletconfig and servletcontext in servlet?

655


What is meant by servlet? What are the parameters of the service method?

672


How can we refresh automatically when new data has entered the database?

705


How can the session in servlet can be destroyed?

787


How to get the actual path of servlet in server?

825


What is the difference between the getrequestdispatcher(string path) method of javax.servlet.servletrequest interface and javax.servlet.servletcontext interface?

644


What are the new features added to servlet 2.5?

698


What is getservletcontext?

626