aspose file tools
The moose likes Servlets and the fly likes Filter only GET Methods Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Filter only GET Methods" Watch "Filter only GET Methods" New topic

Filter only GET Methods

elvadas nono

Joined: Jul 04, 2011
Posts: 12
Hi all,
How coan I filter only http Method GET of an url-pattern using DD config?
With securtity Constraint for example you see that it is possible to apply security constraint only to the POST Method for example using

Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1510
Not declaratively. You do have access tot he request object though.

So much trouble in the world -- Bob Marley
wood burning stoves
subject: Filter only GET Methods