wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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
subject: Filter only GET Methods
Similar Threads
Securing my web application on JBoss 5.1.0.GA
using multiple security-constraints
problem with security constraints
Problems getting Tomcat to work without Eclipse IDE
[WAS] Activate security and create a role