>
>I've tried but it didn't work.
>
>I've made a new directory called classes under  /Program Files/Apache
Tomcat >>>4.0/webapps/ROOT/WEB-INF and I copied my HelloWorldExample.class
to this directory.
>
>From my browser I tried http://localhost:8080/servlet/HelloWorldExample and
I received a >"The requested resource (/servlet/HelloWorldExample) is not
available."  message.
>
>

If you put it in ROOT, then you should put your HelloWorldExample in classes
as in
Apache Tomcat4.0/webapps/ROOT/WEB-INF/classes

then run it as http://localhost:8080/HelloWorldExample

That ROOT name under webapps is your context path.  ROOT is a special case
that you can omit, but if you have other names like myserv then you will
need to use myserv as your context path as in
http://localhost:8080/myserv/HelloWorldExample

If that still doesn't work, it's your web.xml file.

Ricky


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to