>>>>> "Laurent" == Laurent Perez <[EMAIL PROTECTED]> writes:

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

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

you maybe have to add these to the web.xml of the axis webapp:

  <servlet>
    <servlet-name>SimpleServlet</servlet-name>
    <servlet-class>
path.to.the.servlet.class
    </servlet-class>
  </servlet>
  <servlet-mapping>
    <servlet-name>SimpleServlet</servlet-name>
    <url-pattern>/servlet/SimpleServlet</url-pattern>
  </servlet-mapping>


Ingrid



Reply via email to