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
Can you use javascript in servlets?
What do you mean by url pattern in servlet?
Write a servlet to upload file on server.
What must be implemented by all servlets?
Explain web application directory arrangement?
What are the mechanisms used by a servlet container for maintaining session information?
What is cookie? Why is cookie used?
Elucidate servlet attributes and its scope?
What is war file?
What is meant by servlet? What are the parameters of the service method?
What is cookie in servlet?
How to read request headers from servlets?
What is difference between PrintWriter and ServletOutputStream?
What are the kinds of http requests?
If some new data has entered the database, explain how can a servlet refresh automatically?