enable HTTP PUT on only one webapp

2006-06-30 Thread Laurent SAUVAGE
Hi, I would like to enable HTTP PUT method on only one webapp, not to all webapps. I prefer to not modify system wide web.xml, because if I do it this way I have to secure other webapps. How can I do it easily ? Regards, Laurent.

getContext(uri) returns null

2006-06-14 Thread Laurent SAUVAGE
Hi, I am using Tomcat 5.5.16, and a getServletContext().getContext('toto') call returns null. 'toto' is a web app deployed on same instance of tomcat where there is another wep app containing the servlet doing the call. What should I do for this call returns the correct ServletContext ?