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

What is difference between jsp and servlet?

860


If some new data has entered the database, explain how can a servlet refresh automatically?

969


When to use doget() and when dopost()?

808


What is servlet looping or chaining?

880


How to commuincate between an applet and a servlet?

767


How servlets are deployed in java?

708


Are Servlets Thread Safe? How to achieve thread safety in servlets?

749


What do you understand by mime type?

775


How is the get () method different from the post() method?

716


What are life cycle methods of a servlet?

763


Is it possible to have a constructor inside the servlet?

724


What is the purpose of requestdispatcher interface?

794


What is the difference between get and post methods?

765


Can we override destroy method in servlet?

700


What are the phases of the servlet life cycle?

781