File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes User Defined Error Page for 404 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "User Defined Error Page for 404" Watch "User Defined Error Page for 404" New topic

User Defined Error Page for 404

N mn

Joined: Jun 19, 2002
Posts: 1
Hi,I am trying to give the user defined error page for 404. My web.xml entry contains :
But it seems I am still getting the default 404 page from within Tomcat.
Any suggestions as to what is wrong ?
Dave Comeau

Joined: Jun 14, 2002
Posts: 27
Did you restart Tomcat and check the startup logs for any clues?
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Your username does not meet the requirements of the official Javaranch naming policy. Please choose one that does.
I agree. Here's the link:
subject: User Defined Error Page for 404
It's not a secret anymore!