java - Tomcat sends 403 at DELETE request although readonly is false -
i've got servlet implements dodelete method.
when run application on tomcat (8.0.0 rc1) 403 response. checked documentation regarding (http://tomcat.apache.org/tomcat-8.0-doc/default-servlet.html) no change.
my servlet:
@webservlet(urlpatterns = "/api/binding/*", initparams = { @webinitparam(name="readonly", value="false") }) public class bindingservlet extends basicservlet { private static final logger logger = logger.getlogger(bindingservlet.class); @override protected void dodelete(httpservletrequest req, httpservletresponse resp) throws servletexception { string request = this.getrawrequest(req); // code } }
i followd servlet implemenation through annotations page: http://blog.caucho.com/2009/10/06/servlet-30-tutorial-weblistener-webservlet-webfilter-and-webinitparam/
Comments
Post a Comment