• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

error page under WEB-INF

 
Hongli Li
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

I have this snippets inside my web.xml


error 404 workes fine, but when there is an internal server error(500), tomcat doesn't seem to pick the error.jsp defined in the web.xml. I'm sure the file(error.jsp) is in the right folder and there is no typo in web.xml. when I move it outside of WEB-INF, it works, anyone knows why.


thanks
Hongli
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic