t hen i created the tree %TOMCAT_HOME%\webapps\hello\WEB-INF\classes
i have put Hello.class (a helloworld like class, nothing to care about) in the classes dir and the web.xml (from the ROOT\WEB-INF dir) in the WEB-INF dir
<?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> <display-name>Welcome to Tomcat</display-name> <description> Welcome to Tomcat </description> </web-app>
i add in server.xml, just above the "examples" context,
2. In ur server.xml file find the word ROOT and just replace that with Ur desired Directory and then Keep ur servlet in /Webapps/Directory/WEB_INF/classes/Hello and run it as http://nameserver:8080/servlet/Hello
Both will work fine
mail me if still finding diff at amitkuiya@rediffmail.com Bye
thx for your help... i found the problem ! it's due to the fact that the servlet invoker is disabled since tomcat 4.1.12... i onlye had to enabled it in the conf/web.xlm :)
now i have to find how deny access to the repertories i don't want to be seen... *sigh*