Hi Javier, I am not very sure what mistake are you doing, but to find out if your tomcat is up and installation is okey, try using default examples servlets http://localhost:8080/examples/
try any of them, and if they are okey, tell me if you can access http://localhost:8080/index.html if both these are working fine, then try to put your tomcat under a directory that doesn't contain spaces , like "d:\tomcat" I suspect the directory where you put Tomcat "program files" is causing problems, since it includes a space, just guessing cheers :) ----- Original Message ----- From: "Javier A. Leyba" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, April 11, 2002 1:09 AM Subject: Re: Newbie question On 11/04/2002 at 0:18 yilmaz wrote: >Hi Javier! >Servlets should be under webapps/yourcontext/WEB-INF/classes/ directory. >yourcontext can be anyone like, ROOT, examples,etc. >One more thing do not forget to append /servlet/ to your url. >Just to be more helpful for a new comer : >say you put your HelloWorld servlet under ><tomcathome>/webapps/ROOT/WEB-INF/classes/ >your url should be like this: >http://localhost:8080/servlet/HelloWorld > >Hope this helps :) 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 and I received a "The requested resource (/servlet/HelloWorldExample) is not available." message. Need I to define a new context ? <jl> _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]> -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
