File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Filter only GET Methods" Watch "Filter only GET Methods" New topic
Author

Filter only GET Methods

elvadas nono
Greenhorn

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.


Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
 
Consider Paul's rocket mass heater.
 
subject: Filter only GET Methods
 
Similar Threads
Securing my web application on JBoss 5.1.0.GA
Problems getting Tomcat to work without Eclipse IDE
using multiple security-constraints
problem with security constraints
[WAS] Activate security and create a role