I have a web application that runs on Tomcat 7.0.34. When the server is running, I expect to see page 404 error when I enter an incorrect url (say I have localhost:8080/home/app and I type in localhost:8080/home/someNonExistingPage ) but instead I get "Oops! This link appears to be broken." (in Chrome) and nothing in Firefox.
I have both Apache HTTP and Tomcat server installed. How can I replicate a page 404 error?
Many thanks in advance
Author and all-around good cowpoke
posted 3 years ago
Tomcat is probably generating a 404 error just like you expect but something is fiddling with it - probably the browsers.
Microsoft IE is notorious for substituting "friendly" error message but I don't know where the Chrome or Firefox control that.