Hi,
The servlet is mapped correctly and requesting doGet by through web
browser works fine.
What do you mean by right signature? you mean the
java.security.Signature? or just the code syntax?
Here's the code I use for my class which extends (the tomcat)
WebDavServlet.
protected void doOptions(HttpServletRequest req, HttpServletResponse
response)
throws ServletException, IOException {
super.doOptions(req, response);
System.out.println("DavTest.doOptions " + new Date());
response.addHeader("DAV", "1,2");
String options = "OPTIONS, GET, HEAD, POST, DELETE, TRACE,
PROPFIND, PROPPATCH, COPY, MOVE, LOCK, UNLOCK";
response.addHeader("Allow", options);
response.addHeader("MS-Author-Via", "DAV");
}
Samuli
On 26.3.2006, at 23.00, Mark Thomas wrote:
Samuli Elomaa wrote:
Now, the problem is that instead of my servlet responding by using
doOptions, the doOptions is never called because tomcat
(CoyoteConnector?)
answers before my servlet with answer like:
It isn't the CoyoteConnector.
It could be a couple of things.
Check that the OPTIONS request is for a URL mapped to your servlet.
Check your doOptions() method has the right signature.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]