Java Reference

Java Reference Home | Smart Soft Home

Servlet Filter

Typically, the HTML output of a Java Servlet is sent directly to the user. Some times it's desirable for the servlet's output to pass through a filter before being passed along to the user, thus giving the filter final say on what goes out the door. An example whould be "dirty word" filter.