• 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

if i give a code like this-->isErrorpage="false" what will happen

 
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
if i give a code like this-->isErrorpage="false" what will happen?
will the errorpage be included if i try to include in to this page??
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As I understand it, the isErrorPage attribute controls the code generated for the JSP. If true the code has to provide for creating the "exception" variable, so I suppose setting it false makes the JSP code simpler.
This kind of question can be answered in the Servlet and JSP API docs that you can find on java.sun.com as PDF files.
Bill
 
Ranch Hand
Posts: 260
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
isErrorPage=false is actually default for all jsp pages.
if you wanna use your jsp page as an error page
you have to set isErrorPage=true. by doing so you will also be able to get the thrown exception by means of exception variable.
[ January 20, 2003: Message edited by: Asher Tarnopolski ]
reply
    Bookmark Topic Watch Topic
  • New Topic