Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Very newbie question

 
Kaz Yosh
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I wrote "hello world" servlet code. Now where should I put this file? I use freeBSD and tomcat is located under /usr/local
 
Chris Baron
Ranch Hand
Posts: 1061
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
it should be /usr/local/<tomcat-dir>/webapps/<yourwebapp-dir>/WEB-INF/classes
If you haven't created a webapp default is ROOT as <yourwebapp-dir>
Don't forget too retstart tomcat after placing it.
hth
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic