You need to add an entry in your web.xml for this servlet, because the invoker servlet (the one that allows you to execute servlets without mapping them to an URL) became disabled by default in Tomcat 4.1.12 (this is in the release notes).

The reason this was done was to fix a bug that let people view the source of your JSPs. See eg
http://www.jguru.com/faq/view.jsp?EID=1004760

-Baz

Laurent Perez wrote:
Hi

I am trying to access a very simple servlet (SimpleServlet) within Axis' webapp directory (I got a web service working fine but I need to make that servlet available to public).

I copied SimpleServlet to /usr/local/tomcat/webapps/axis/WEB-INF/classes, restarted the webapp (I am using TC4.1.18) but I can't access the servlet with : http://localhost:8080/axis/servlet/SimpleServlet :(

What's the correct path to access that servlet ?
Thanks for your help

Laurent





Reply via email to