GeeCON Prague 2014*
The moose likes Servlets and the fly likes Very newbie question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "Very newbie question" Watch "Very newbie question" New topic
Author

Very newbie question

Kaz Yosh
Ranch Hand

Joined: May 22, 2003
Posts: 63
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


"If anything can go wrong, it will"
Chris Baron
Ranch Hand

Joined: Mar 21, 2003
Posts: 1049
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
 
GeeCON Prague 2014
 
subject: Very newbie question