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 Thu, 19 Sep 2002 15:10:00 GMT
I can't see file localhost_myapp_log, i only found localhost_examples_log,
localhost_admin_log and localhost_log.
I search something in localhost_log, but i don't find anything.

Let me take a few of your time.

Well, i created a new app (teste) :
teste
   |_index.html
   |_WEB-INF
                |_classes
                        |_HelloWorldExample.class
                |_web.xml

The class HelloWorldExample it's work in
localhost:8080/examples/servlet/HelloWorldExample, then i copied it.
The file web.xml is:
***
<?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>
***
When i put http://localhost:8080/teste ->It's ok, i see my index.html
But when i put http://localhost:8080/teste/hi -> don't works!?
I see this on page:
##
HTTP Status 404 - /teste/hi
type Status report
message /teste/hi
description The requested resource (/teste/hi) is not available
##
And i can't found anything in log files about this exception.

What do i? I don't have an idea...i only install tomcat 4.1, i don't
configurate anything more.

Thank's for your attention.





----- Original Message -----
From: <Vincent.Gaboriau@answare.fr>
To: Tomcat Users List <tomcat-user@jakarta.apache.org>
Sent: Thursday, September 19, 2002 11:36 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

What the tomcat's log say?





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