Outra dúvida então sobre servlets

oq siginifica esse erro ao testar minha servlet da esse erro

HTTP Status 404 -

Alguem poderia me explicar oq isso significa…

Obrigado e Abs

O topico original foi alterado pelo usuário… resposta não faz mais sentido, por isso apaguei.

Vixe desculpa pela pergunta então…

Abs

:slight_smile:

para ser mais claro ta assim o erro:

HTTP Status 404 - Servlet HelloServlet is not available


type Status report

message Servlet HelloServlet is not available

description The requested resource (Servlet HelloServlet is not available) is not available.

Bom ta dificil, o problema mostra q tenho q criar um arquivo web.xml… já fiz ele de um monte de jeito mas não rola… por favor ve se estou fazendo certo ele.

minhas classes estão nesse diretorio:
c:\jakarta-tomcat-5.0.28\webapps\HelloServletApp\WEB-INF\classes

Minha classe se chama HelloServlet, eu inicio o TomCat, e entro na url:
http://localhost:8080/HelloServletApp/HelloServlet

ai da o seguinte erro acima.

o arquivo web.xml esta no diretorio:
c:\jakarta-tomcat-5.0.28\webapps\HelloServletApp\WEB-INF\web.xml

ele esta configurado assim:

<?xml version="1.0" encoding="ISO-8859-1"?> HelloServlet HelloServlet
<servlet-mapping>
    <servlet-name>HelloServlet</servlet-name>
    <url-pattern>*.teste</url-pattern>
</servlet-mapping>

<servlet-mapping>
    <servlet-name>HelloServlet</servlet-name>
    <url-pattern>/HelloServlet</url-pattern>
</servlet-mapping>

<session-config>
    <session-timeout>30</session-timeout> <!-- 30 minutes -->
</session-config>

acho q só tenho isso de informação mas causo falte pode fala q eu mando…

Pessoal fico no aguardo dessa ajuda…

Abs

Olá

[quote=RFC 2616 - Hypertext Transfer Protocol – HTTP/1.1]
10.4.5 404 Not Found

The server has not found anything matching the Request-URI. No
indication is given of whether the condition is temporary or
permanent. The 410 (Gone) status code SHOULD be used if the server
knows, through some internally configurable mechanism, that an old
resource is permanently unavailable and has no forwarding address.
This status code is commonly used when the server does not wish to
reveal exactly why the request has been refused, or when no other
response is applicable.[/quote]

Veja url=http://www.faqs.org/rfcs/rfc2616.html

[]s
Luca

cara vc só coloco mais ??? na minha kbça… desculpa mas não entendi nada… ta com erro minha web.xml ou algo parecido…