hi
I m using tomcat 3.1 but I am unable to run servlets in tomcat

Is there any configuration problem.

I have added the following line in my /tomcat/binary/conf/server.xml file
and created a webapp "satheonline " under /tomcat/binary/webapps/

<Context path="/satheonline" docBase="webapps/satheonline" debug="0"
reloadable="true" >
</Context>

Then I have created the following directory structure under sathonline:

satheonline(contains all html files )------Meta-inf
                                     ------web-inf----classes (contains
servlet class files)

Besides the web.xml file in web-inf contains the following

 <servlet>
        <servlet-name>
           helloworldexample
        </servlet-name>
        <servlet-class>
            HelloWorldExample
        </servlet-class>
    </servlet>

The server starts fine. But when I type
http://localhost:8080/satheonline/servlet/HelloWorldExample it gives a 404
error

what is missing ?

thanks

amit sathe

Reply via email to