----- Original Message ----- 
From: "Shapira, Yoav" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, February 19, 2004 11:49 AM
Subject: RE: FAQ, but help!



Howdy,

>There are two web.xml, I guess?  There is one in %root%\conf\web.xml
>(sorry,
>it wasn't
>in the my_app directory),  which I can use custom pages for 404 errors
>after
>adding entries,
>and there is another one in WEB-INF  directory as well.

Yes.  The first is for all tomcat webapps, and you shouldn't really use
it for your own stuff.  The second is for your own webapp, and it's the
one you should use.

>I've added the entry to the web.xml
>in my_app\WEB-INF directory, and it pretty made any of my apps
unavailable.

Impossible.  Even if you muck up your web.xml, it would only make your
webapp unavailable.  It won't affect others.  (Messing up conf/web.xml
would make all your webapps broken, which is another reason not to use
conf/web.xml).

>I get 404 with
>"The requested resource is not available".  As soon as I delete the
entries
>from the web.xml
>in WEB-INF again, then apps begin working again.
>
>Any ideas?

Are you sure you put the error-page directives in the right place in
web.xml, if you're using tomcat 4.x?  What tomcat version are you using,
btw?

Yoav Shapira



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to