Since you don't show a port number in your URL, it would
seem that you are using a web server in front of Tomcat.
If so, is it the web server or Tomcat 3.2.3 that gives the
404 error?

Note: If you are using IE with friendly error messages,
you won't be able to tell.

Assuming the web server is trying to serve abcd.htm,
be aware that it has its own idea about where documents are
found, i.e. Apache looks in "htdocs", IIS/PWS looks in 
"InetPub/wwwroot". Tomcat knows to look in "webapps/ROOT"
for abcd.jsp, but the web server doesn't know to look in
"webapps/ROOT" for abcd.htm.  This is a basic problem
with having a web server and Tomcat each have separate
ideas about where the "root" context lives.

Cheers,
Larry

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 25, 2001 6:12 AM
> To: [EMAIL PROTECTED]
> Subject: jakarta-tomcat-3.2.3.. strange problem.. 
> 
> 
> 
> 
> Hii all,
> I got the latest tomcat 3.2.3 and i am running it on windows 
> 98 using jdk
> 1.3
> 
> I got a file called abcd.htm , and i get a 404 error when i 
> try to access
> it. http://localhost/abcd.htm
> 
> When i rename the file to abcd.jsp , tomcat is able to find 
> that file, if i
> rename it to any thing else also, tomcat is able to find the 
> file, but it is
> throwing 404 error for
> all the .htm files, renaming them to jsp solves the problem.
> 
> any one ANY IDEA what's wrong ? and How can i go about correcting it ?
> 
> Regards,
> Shuklix
> 
> 

Reply via email to