*
The moose likes Tomcat and the fly likes How To disable PUT,DELETE Http Methods on Tomcat 6 Webserver Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "How To disable PUT,DELETE Http Methods on Tomcat 6 Webserver" Watch "How To disable PUT,DELETE Http Methods on Tomcat 6 Webserver" New topic
Author

How To disable PUT,DELETE Http Methods on Tomcat 6 Webserver

Veerendranag Banka
Greenhorn

Joined: Nov 30, 2012
Posts: 17
Hello All,
Can you Please Provide how to disable Http Methods Delete,Put on Tomcat 6 Webserver and also how to test PUT,DELETE Http Methods Has Been Blocked by The Tonmcat 6 Webserver can anyone help me on this Please.
Regards,
Veerendranag
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41106
    
  45
Why do you want to do this? If you don't want those methods to be used (which aren't used by standard servlets anyway), you can protect them with servlet security in web.xml, or simply not put any code in place that responds to them.


Ping & DNS - my free Android networking tools app
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How To disable PUT,DELETE Http Methods on Tomcat 6 Webserver
 
Similar Threads
DISABLE PUT DELETE TRACE OPTIONS on TOMCAT
struts application deployment in tomcat server
how to access the servlets running on the remote webserver...
Restricting Http methods thru tomcat configurations
http - https - load balancer - web Server - app Server