on the hand create the error404.html in the root workspace\myproyec\deploy\tomcat\webapps\app
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>my page error 404</title>
</head>
<body>
my html page when get a error 404
</body>
</html>
According to the tomcat documentation, it should open my page error404.html when I get a error 404 but unfortunately when I get this error it doesn´t redirects to my page error404.html. . . . . please somebody can tell me if I have wronged or how I can do it???
I have had a look to the demo proyect that you send me and I don´t find the file error404.html in deploy/tomcat/webapps/ROOT/error404.html . . . . maybe you wronged when send me the file??
You’re right, the archive doesn’t contain the tomcat directory. Sorry about that. Simply add the ROOT directory within webapps and add error404.html within it.