Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Very Basic Question

 
Sirisha Reddy
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Jayesh Lalwani
Ranch Hand
Posts: 502
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
changing case is not a help!
SR.
 
J Chitra
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your answer lies here.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic