Answer Posted / suresh royal
Filter is a special web resource program that is capable of
trapping the request and taking the response of other web
resource programs.
Filter is a interface .
A servlet program which is implemented javax.servlet.Filter
interface is called "Servlet Filter"
Filter having three methods..
==================================
init(FilterConfig fg)
DoFilter(SReq req ,Sres res,FilterChain fc)
destroy()
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
List some life cycle methods of a servlet.
What is the use of servlet wrapper classes?
What are the uses of servlet and what is servlet chaining?
Name the packages that work with servlet?
What is difference between GenericServlet and HttpServlet?
How servlets are deployed in java?
What is the use of httpservletrequestwrapper?
How can you use a servlet to generate a plain text instead of html?
What are all the protocols supported by httpservlet?
Explain their methods? Tell me their parameter names also have you used threads in servlet?
What are the life-cycle methods for a servlet?
How do you get the ip address of the client in servlet?
Tell us something about servletcontext interface.
What is Servlets and explain the advantages of Servlet life cycle?
What are the mechanisms used by a servlet container for maintaining session information?