File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

error page under WEB-INF

 
Hongli Li
Ranch Hand
Posts: 124
  • 0
  • 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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic