If you have the main.htm under the webapps directory then this won't work.
Since you are accessing it from under a ROOT context
(http://localhost:8080/main.htm), you need to put the file in the
webapps/ROOT directory (assuming that there is a context ROOT configured in
your server.xml).

RS





"Stella Martzoukou" <[EMAIL PROTECTED]> on 03/25/2002 03:31:05 AM

Please respond to "Tomcat Users List" <[EMAIL PROTECTED]>

To:   "Tomcat Users List" <[EMAIL PROTECTED]>
cc:

Subject:  problem with tomcat

well.. i expect that this may sound silly
but i encounter the following problem with
Tomcat 3.2.1 on a win2000 machine

I have a file called main.htm in the webapps directory that should be
loaded
when calling it
from the url  127.0.0.1:8080/main.htm

Still, I get a page not found 404 error

and in the Tomcat console, the following message:

2002-03-26 11:22:02 - Ctx(  ): 404 R(  + /main.htm + null) null


Can somebody help me on this?

Thanks very much..


Stella



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>









--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to