tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lindomar" <lindomar.si...@bol.com.br>
Subject Re: web.xml
Date Fri, 20 Sep 2002 13:12:12 GMT
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: <Vincent.Gaboriau@answare.fr>
To: Tomcat Users List <tomcat-user@jakarta.apache.org>
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:lindomar.silva@bol.com.br]


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:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message