Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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 Murach's Java Servlets and JSP this week in the Servlets 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: 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: 41051
    
  43
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How To disable PUT,DELETE Http Methods on Tomcat 6 Webserver
 
Similar Threads
DISABLE PUT DELETE TRACE OPTIONS on TOMCAT
how to access the servlets running on the remote webserver...
Restricting Http methods thru tomcat configurations
http - https - load balancer - web Server - app Server
struts application deployment in tomcat server