This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Very Basic Question" Watch "Very Basic Question" New topic
Author

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.
Sirisha.
SCJP


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!
SR.
J Chitra
Greenhorn

Joined: Sep 16, 2004
Posts: 18
Your answer lies here.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Very Basic Question
 
Similar Threads
Problem with Tomcat 5
Tomcat Problem
Cannot bring up a html page using tomcat 6.0
accessing html file under tomcat
Problem: requested resource not available