• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Error page is not displaying instead Error Status code is displaying

 
Ranch Hand
Posts: 83
Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

 
reply
    Bookmark Topic Watch Topic
  • New Topic