You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by nitin mundada <ni...@yahoo.co.uk> on 2000/12/05 11:39:57 UTC

Error 404

Hi all
I am facing a strange problem. I am getting error 404:
File not Found, though file is there.
I'll explain -- I want to connect to new.jsp, and
alter.jsp through start.html. when i click on link for
new.jsp, it works perfectly, but when i link on link
for alter.jsp, it shows Error 404.
alter.jsp is there in on the server.

I tried with other combinations also, like uploading
new.jsp(as this link was working properly) by other
name like new1.jsp, and trying to access it, it again
fails.

i.e. i am able to access only new.jsp and no other
file


Thank u in advance
Nitin  

____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie

Re: Error 404

Posted by Kedar Choudary <ke...@cysphere.com>.
Hi,

There seems to be bug in Tomcat 3.2. It sends 404 on ANY
FileNotFoundException.
So if the precessing in you alter.jsp involves accessing certain file, which
is not present, it will throw FileNotFoundException. The exception will be
caught by Tomcat and it will send 404.
Try putting whole of your jsp code with try/catch block, catch the
exceptions and do printStackTrace to locate real problem

Kedar.

----- Original Message -----
From: nitin mundada <ni...@yahoo.co.uk>
To: <to...@jakarta.apache.org>
Sent: Tuesday, December 05, 2000 4:09 PM
Subject: Error 404


> Hi all
> I am facing a strange problem. I am getting error 404:
> File not Found, though file is there.
> I'll explain -- I want to connect to new.jsp, and
> alter.jsp through start.html. when i click on link for
> new.jsp, it works perfectly, but when i link on link
> for alter.jsp, it shows Error 404.
> alter.jsp is there in on the server.
>
> I tried with other combinations also, like uploading
> new.jsp(as this link was working properly) by other
> name like new1.jsp, and trying to access it, it again
> fails.
>
> i.e. i am able to access only new.jsp and no other
> file
>
>
> Thank u in advance
> Nitin
>
> ____________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
> or your free @yahoo.ie address at http://mail.yahoo.ie


properties

Posted by andreas ebbert <eb...@imm.rwth-aachen.de>.
Hi there,
does anybody know where
to put property-files for servlets
so that tomcat finds them?
I tried to place them in the
same location as the .class-
-file but that didn´t work, any
idea´s?

regards,
andreas

-----------------------------------------------------------------------
Andreas Ebbert, Kuthstrasse 43, 51107 Koeln
e-mail: ebbert@imm.rwth-aachen.de
Fon: 0221-8701503,        Fax: 0221-5345842
-----------------------------------------------------------------------



Re: Error 404

Posted by Adrian Stabiszewski <ad...@nitegate.de>.
Hi!

Could you send your server.xml file? Are you using tomcat directly or in combination with
another web server (apache)?
Where are your files located?

> alter.jsp is there in on the server.
is alter.jsp in the same directory as new.jsp??

send your start.html file too!

bye, adrian.


----- Original Message -----
From: "nitin mundada" <ni...@yahoo.co.uk>
To: <to...@jakarta.apache.org>
Sent: Tuesday, December 05, 2000 11:39 AM
Subject: Error 404


> Hi all
> I am facing a strange problem. I am getting error 404:
> File not Found, though file is there.
> I'll explain -- I want to connect to new.jsp, and
> alter.jsp through start.html. when i click on link for
> new.jsp, it works perfectly, but when i link on link
> for alter.jsp, it shows Error 404.
>
> I tried with other combinations also, like uploading
> new.jsp(as this link was working properly) by other
> name like new1.jsp, and trying to access it, it again
> fails.
>
> i.e. i am able to access only new.jsp and no other
> file
>
>
> Thank u in advance
> Nitin
>
> ____________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
> or your free @yahoo.ie address at http://mail.yahoo.ie