• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Errorpage

 
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi friends,
what is Errorpage and isErrorpage.help me with code snippets.please.

cheers,
Babu.
 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Error page will be invoked and diplayed when an error occured in a JSP page. Every error page must contain an page attribute called isErrorPage="true" and the page where the error or exception occured must tell which is the error page using errorpage="myerropage.jsp"

Fore more info Check this
http://www.imagescript.com/atg/articles/jsp_j2ee/error_page_basics.htm
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Albin Joseph:
Error page will be invoked and diplayed when an error occured in a JSP page. Every error page must contain an page attribute called isErrorPage="true" and the page where the error or exception occured must tell which is the error page using errorpage="myerropage.jsp"

Fore more info Check this
http://www.imagescript.com/atg/articles/jsp_j2ee/error_page_basics.htm




Actually in JSP, we can delegate the exception to some another page so that it can be reused for multiple exceptions.

So in the exception source page we use errorPage="pageName" attribute to define exception handler page.

And in the exception handler page, we use isErrorPage="true" to indicate that this page is going to handle exceptions.

I think this will answer your question.
 
He was expelled for perverse baking experiments. This tiny ad is a model student:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic