all you have to do is
create a folder name of your choice inside <tomcat root>/webapps/new folder name
map this folder name side the server.xml file found inside <tomcat root>\conf\server.xml i.e,
add this line
<Context path="/NEW FOLDER NAME" docBase="webapps/NEW FOLDER NAME" crossContext="false" debug="0" reloadable="true"/>
also you have to place folder named WEB-INF inside you new folder and inside web-inf folder place a folder called 'classes' inside classes folder place your servert and beans and helper classes of need for your purpose.
one more thing place web.xml file (you can get this file inside example\web-inf folder). This file is used for your
servlet regester.
if you want change the port insted of 8080 your can do by changing the port number in server.xml(replace 8080 found in xml to port of your choice0
also you need not refer with localhost you can call by the ip of your system (like
http://ipaddress ortnumber).
regarding classpath simple suggestion would be append to the existing classpath in the command prompt you running which is used to run tomcat. This will not effect another application using classpath set by the systme.
-arun
[ January 25, 2002: Message edited by: arun boraiah ]