This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Yep you can use the WAB (Web Application Bundle or WAR+Bundle) support that was added in the 4.2 enterprise spec release  to support all the servlet 2.5 and JSP 2.1 specifications. The eclipse gemini project  has support for this specification and I've certainly used filters with this.
There's even a chapter dedicated to web applications and services in our book which should allow you to try this out for your self with some canned examples.