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 :)
----- Original Message -----
From: "Javier A. Leyba" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, April 10, 2002 11:19 PM
Subject: Newbie question



Hi

I'm trying to do my first servlet. I've compiled a simple HelloWorld class.

Now, where is the root Tomcat directory where may I put it ?

How could I define a new one for my tests ?

Thanks in advance

<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]>

Reply via email to