Ok Vincent. Thanks.
But, i  remove this problem...in fact, the problem is my web.xml file, the
mapping that i put, don't work.
If i write http://localhost:8080/teste/servlet/HelloWorldExample, works.
But, http://localhost:8080/teste/hi don't work.
And i search something in log, but i can't found anything.
It's really a problem...

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: Tomcat Users List <[EMAIL PROTECTED]>
Sent: Friday, September 20, 2002 5:31 AM
Subject: RE: web.xml


Hello,

  I have found your error...
  Your config files are correct!
  The error became from the HelloWorld servlet.
  If you enter on the code, to see what it really do ;-)
you can see that it use a LocalString properties file.
  Your servlet cannot function because this file missing.

  That's all.

By, Vincent.

-----Message d'origine-----
De : Lindomar [mailto:[EMAIL PROTECTED]]


teste
   |_index.html
   |_WEB-INF
                |_classes
                        |_HelloWorldExample.class
                |_web.xml

***
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd";>
<web-app>
    <servlet>
        <servlet-name>myteste</servlet-name>
        <servlet-class>HelloWorldExample</servlet-class>
    </servlet>
    <servlet-mapping>
        <servlet-name>
            myteste
        </servlet-name>
        <url-pattern>
            /hi
        </url-pattern>
    </servlet-mapping>
</web-app>
***



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

Reply via email to