tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Penhey" <...@penhey.net>
Subject RE: [Resource Not available] Newbie question
Date Thu, 10 Jun 2004 10:26:47 GMT
You would also need to tell us your servlet-mapping and the directory of the file that the
form is in.

Tim

> -----Original Message-----
> From: Michael Drewitz
> [mailto:drewit_m.etech.haw-hamburg@etech.haw-hamburg.de]
> Sent: 10 June 2004 11:18
> To: tomcat-user@jakarta.apache.org
> Subject: [Resource Not available] Newbie question
>
>
> Hi all,
>
> if I try to access the below described servlet from a html- or jsp-file
> I get "Http 404 Error - Resource not available".
>
> <form action="AVG_ValuesServlet" method="get" name="avg_values_form">
> ..</form>
>
> I have tried it with the package-name as prefix and the prefix
> "servlet/", but nothing works.
> Whats wrong?
>
> The class-file is located in the defined directory under ../web-inf/classes.
> This is the only element of web.xml:
> <servlet>
> <servlet-name>AVG_ValuesServlet</servlet-name>
> <servlet-class>org.haw.weather.web.AVG_ValuesServlet</servlet-class>
> </servlet>
>
> Thanks in advance, Michael
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>





---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message