Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Tomcat 4.0.4 directory for servlets  RSS feed

 
Jaydeep Deshmukh
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can any please help me with the exact location where servlets should be placed under Tomcat 4.0.4 root?
 
Sanjeev Kaushik
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
It is "webapps" directory in the tomcat.

Sanjeev Kaushik
 
Bill Pearce
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are asking where to place the actual class files, that should be in the WEB-INF/classes folder of your web application. Or you can place your classes in a JAR file and place the JAR in WEB-INF/lib. So you could have:
%TOMCAT_HOME%/webapps/myapp/WEB-INF/classes
and/or
%TOMCAT_HOME%/webapps/myapp/WEB-INF/lib
Hope that helps.
 
Jaydeep Deshmukh
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Sanjeev and Bill...ur reply was quiet a help. The stuff worked. Thanks again...!!!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!