Meaningless Drivel is fun!
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Very Basic Question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Very Basic Question" Watch "Very Basic Question" New topic

Very Basic Question

Sirisha Reddy
Ranch Hand

Joined: Jun 09, 2003
Posts: 75
just started playing with tomcat. I created a form.html in webapps/CERT folder and started tomcat and tried to access it using http://localhost:8080/CERT/form.html

It throws 404 error.. file not found!
There are other folders in webapps/ ... some of them are showing up when accessed with URL similar to the one above.. but others like CERT are throwing error. ??

Thanks for your answer.

SCJP 1.4
Jayesh Lalwani
Ranch Hand

Joined: Nov 05, 2004
Posts: 502
Tomcat is case sensitive, and Windows is not. So, you have to be careful when you create a folder or file under tomcat, because if you mix cases, WIndows will sometimes show everything as lowercase in windows explorer, but Tomcat will expect you to type the correct case in your browser

I suggert that you re-create all your folders and files in lower case and try again. Note:- renaming the folders may or may not work. So, it's better you start from scratch
Sirisha Reddy
Ranch Hand

Joined: Jun 09, 2003
Posts: 75
changing case is not a help!
J Chitra

Joined: Sep 16, 2004
Posts: 18
Your answer lies here.
I agree. Here's the link:
subject: Very Basic Question
It's not a secret anymore!