What the tomcat's log say?

-----Message d'origine-----
De : Lindomar [mailto:[EMAIL PROTECTED]]
Envoyé : jeudi 19 septembre 2002 16:18
À : Tomcat Users List
Objet : Re: web.xml


Hi Vincet. Thanks for your reply.

My tomcat's example run.
The error is :
HTTP Status 404 - /myapp/oneid/
The requested resource (/myapp/oneid) is not available

Note: I got directory myapp of tomcat 3.2.3, and i placed on 4.1.

Thanks again!

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: Tomcat Users List <[EMAIL PROTECTED]>
Sent: Thursday, September 19, 2002 10:37 AM
Subject: RE: web.xml


Quer ter seu próprio endereço na Internet?
Garanta já o seu e ainda ganhe cinco e-mails personalizados.
DomíniosBOL - http://dominios.bol.com.br

Nothing's wrong, nothing's missing.
Your problem isn't here.
Does the Tomcat's examples run?
Which error do you get?

-----Message d'origine-----
De : Lindomar [mailto:[EMAIL PROTECTED]]
Envoyé : jeudi 19 septembre 2002 15:14
À : Tomcat Users List
Objet : 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]>




--
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