This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Servlets and the fly likes Servlet 3.0 and URL Patterns with wildcards. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet 3.0 and URL Patterns with wildcards." Watch "Servlet 3.0 and URL Patterns with wildcards." New topic
Author

Servlet 3.0 and URL Patterns with wildcards.

Kevin P Smith
Ranch Hand

Joined: Feb 18, 2005
Posts: 362
Hi;

I’ve recently started looking at Servlets 3.0 and have been playing around with the annotations and was wondering, is it still possible to use wildcards in the url pattern?
See I am playing around with a simple app that requires the user to login to use certain functionality, so I was planning on having a Filter (SecurityCheckerFilter) with something like :

Filter:


Servlets:


This is working now!

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Servlet 3.0 and URL Patterns with wildcards.