you are mixing "filtering" of your data and filtering of your request.
You typically have this interaction
User -> browser -> webserver -> servlet container -> servlet-filters
-> servlet -> service layer -> data access layer -> database
filtering of the data with the criterias happens in the area of
servlet down to the database.
If you want to do some logic before a servlet is
invoked or after it did its work, e.g. filter out malicious code (xss
attacks) or
reformat the response (e.g. tidy the html), a servlet-filter would be
the perfect
place for this.
kr,
dominik
--
Dominik Dorn
http://dominikdorn.com
Eine [url=http://www.studyguru.eu]Ausarbeitung[/url] zu Deinem Seminarthema?
[url=http://www.studyguru.eu]Mitschrift[/url] von der letzten Vorlesung?
[url=http://www.studyguru.eu]Alte Prüfungen[/url]? Dass, und noch viel
mehr findest Du auf http://www.studyguru.eu ! Tausche Deine
Lernunterlagen noch heute!