What is Servlet Filter And What does it work?
Answer / surajkumar.java
Filters are powerful tools of Servlet platform. These are
just like a servlet which plugs into the request handling
process and executes in addition to the normal page
processing. Filters manipulate both request and response in
web application. Filters can be applied to any resources
like HTML, graphics, a JSP page, servlet etc, served by a
servlet engine. These are commonly used for authentication,
data format conversion and page redirect to other page and
catching etc.
A java class which implements javax.servlet.Filter is
configured as filter in web.xml file. For each request in
web application, the servlet container decides which filters
to apply, and adds those filters to a chain in the same
order they appear in web.xml. As a filter is just like a
servlet, it has its life cycle (init(), doFilter() and
destroy() methods).
| Is This Answer Correct ? | 22 Yes | 3 No |
What is RPC?
What is thread deadlock? How to resolve thread deadlock?
How primary key is implemented in Oracle?
Why does the option tag render selected=selected instead of just selected?
what is DGC?
cud u help me ... i am struggling with this question... to find all the subsets of a given set for ex.... a,,b,c shud give all the subsets.... i gt the program in c bt nt able to get it in java..... help needed ..
Explain Life cycle of Servlet Filter.
2 Answers InfoBrain, ITC Infotech,
what is the use of State Factories?
how to create Calculator GUI using Gridbaglayout as like as Window Calculator??????????? (Open calculator Go-->Run-->type calc-->Enter)
Different between Struts and Spring? or Why use Spring, if you are already using Struts?
Is multiple try block is possible in single java Application......
Should synchronization primitives be used on bean methods?