That's all ok for me. Take a look to the tomcat log files to see if there's
another error.

-----Mensaje original-----
De: Lindomar [mailto:[EMAIL PROTECTED]]
Enviado el: jueves, 19 de septiembre de 2002 15:14
Para: Tomcat Users List
Asunto: web.xml

Hi everyone!
I have a problem with mapping to my servlets.
I have this structure in tomcat 4.1
myapp
    |_WEB-INF
            |_classes
                    |_subdir1
                            |_subdir2
                                    |_ myServlet.class

I want to mapping this servlet this way: http://localhost:8080/myapp/oneid

I placed this code in web.xml on my app.
***
...
 <servlet>
  <servlet-name>myservlet</servlet-name>
  <servlet-class>subdir1.subdir2.myServlet</servlet-class>
  </servlet>
 <servlet-mapping>
  <servlet-name>myservlet</servlet-name>
  <url-pattern>/oneid</url-pattern>
  </servlet-mapping>
  </web-app>
..
***

What's wrong or missing?

Thanks in advanced.




--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to