aspose file tools*
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


Win a copy of Soft Skills this week in the Jobs Discussion forum!
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: 19
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: 42908
    
  69
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How To disable PUT,DELETE Http Methods on Tomcat 6 Webserver