You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Ramesh Rao <ra...@hotmail.com> on 2002/04/25 23:35:50 UTC

running servlets under tomcat

Hi,

I am new comer to Apache and Tomcat.. I have both of them installed on an NT 
4.0 system.

I am attempting to test a few servlets. Down loaded and compiled 
DukesBookStore set of servlets from Sun Javav Tutorial. It sits under:

  F:\DukesBookStore/*.class (java servlet class files)
                   /cart/*.class (more servlets)
                   /database/*.class (even more servlets)

My question is where do I keep/deploy these servletsso so that I can call 
these from TomCat Browser.

I have tried TOMCAT_HOME/webapps, but it did not work.

The Sun Java Tutorial states:

  http://machine-name:port/Context-root/Servlet-name

where, Context-root, I suppose, is TOMCAT_HOME/webapps..

I have also tried copying servlets to:

  TOMCAT_HOME/webapps/examples/servlets

This did not work either..

I am sure this a very simple question but I don not have an answer.

Thanks in advance,

Ramesh Rao
rameshrao55@hotmail.com






_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org