I am having problems trying to disable put and delete.
I have searched the Internet and they all say the same thing.
Add the following:
<security-constraint>
<web-resource-collection>
<web-resource-name>Disallowed Location</web-resource-name>
<url-pattern>*</url-pattern>
<http-method>DELETE</http-method>
<http-method>PUT</http-method>
</web-resource-collection>
<auth-constraint>
<role-name>*</role-name>
</auth-constraint>
</security-constraint>
So I added that to jakarta-tomcat-5.0.28/conf/web.xml and restart.
While this stops all deletes and puts it is also stopping all gets and
posts too !
What am I doing wrong ? I placed it near the end of the file after
the mime-mappings.
-Thanks
Steve More
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]