Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Where do we put our files in Tomcat?

Status
Not open for further replies.

alphajava

Programmer
Mar 30, 2005
17
US
I installed Tomcat in C:\jakarta-tomcat-5.5.9.
It also installed itself in C:\Program Files\Apache Software Foundation\Tomcat 5.5

Now, if I start Tomcat and type in the browser: I get that famous Apache Jakarta Project page.
Then I put this file Hello.html in:
C:\jakarta-tomcat-5.5.9\webapps\ROOT
Then I typed in the browser:
I got HTTP Status 404 - /Hello.html
I then typed in browser full path:
I got the same error.
My question is: where do we put our development files in Tomcat?

Thanks.
 
it should work. It always works for me, Are you sure you are typing the filename and extension correctly?
Also if you have another copy in "C:\Program Files\Apache Software Foundation\Tomcat 5.5" try checking there if there is a ROOT folder.
 
I apologize, it was my fault. I typed Hello.htm instead of Hello.html.
I know that other containers, servers treat .html same as .htm (for example Resin), but apparently, Tomcat does not.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top