Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Error page is not displaying instead Error Status code is displaying  RSS feed

 
upanshu vaid
Ranch Hand
Posts: 83
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranch,
I have written some error checking code

File name ErrorPage.jsp



File Name badPage.jsp


web.xml


I have put error.jsp and badpage.jsp file in public access folder that is web content in eclipse

when I am running the code I am status code of 500 and not the errorpage.jsp message .
kindly have a look
 
arogarn kancharla
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi upanshu,

It may be because of less data in ErrorPage.jsp ,put more data in error page and test or use the Firefox browser to test your program.

Its not a coding issue.for more details refer below link
https://issues.apache.org/bugzilla/show_bug.cgi?id=33715

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!