Question:
Apache Tomcat server?
remy
2007-04-11 04:59:11 UTC
i m running a test for tomcat server.i ve put my files in the correct dirctory under web apps/ROOT . when i try to access the files thru the web browser http://loclahost:8080/filename.html doesn;t come its an error "http status 404" but when i give http://localhost:8080/filename.jsp ,it is working fine.
Three answers:
2007-04-11 05:11:26 UTC
Yeah you need to spell localhost correctly for it to work.
sachin
2007-04-11 12:03:37 UTC
Apache's root directory can be access via browser using http://localhost/ and not by http://loclahost (See the spelling) or you can user http://127.0.0.1/ instead of localhost.

Localhost means host is local i.e. your site is on local machine and you are accessing via your machine.
koganti
2007-04-11 12:05:19 UTC
may be the HTML code might have gone worng ie u might not have specifed correct file or u might not have started the server plz chechk whether u have deployed the program correctly or server is started or not


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...