web.xml
...
<error-page>
<error-code>404</error-code>
<location>/FileNotFound.html</location>
</error-page>
...FileNotFound.html
...
<body>
       你所访问的页面不存在。<p>
       如有问题,请与<a href="[email protected]">管理员</a>联系。
</body>
...
配置应该也没错,因为当我直接访问http://localhost:8080/error/FileNotFound.html时是显示FileNotFound.html页面的,但输入http://localhost:8080/error/a.jsp并不显示FileNotFound.html页面,而是显示:
找不到网页 
您要查看的网页可能已被删除、名称已被更改,或者暂时不可用。 --------------------------------------------------------------------------------请尝试以下操作:如果您已经在地址栏中输入该网页的地址,请确认其拼写正确。打开 localhost:8080  主页,然后查找指向您感兴趣信息的链接。 
单击后退按钮,尝试其他链接。 
单击搜索,寻找 Internet 上的信息。 HTTP 404 - 未找到文件
Internet Explorer 请问为什么啊?