GeekInterview.com
Series: Subject: Topic:
Question: 37 of 38

we are writing <%@ page iserrorpage="true"> what it actually .I mean it is Error object or else other

Asked by: Interview Candidate | Asked on: Sep 12th, 2005
Showing Answers 1 - 4 of 4 Answers
suganthi

Answered On : Sep 13th, 2005

isErrorPage is a attribute of page directives and which is used to check whether particular jsp program having error or not.

  
Login to rate this answer.
shanthini

Answered On : Nov 3rd, 2005

Actully this is an attribute of this page, and this particular page will be displayed when the other page( say page 2) got some error, provided, where the errorpage attribute  has to de set to this page. put it in a nut shell, this shows that is going to act as an error indication to some other page

  
Login to rate this answer.
Sarje

Answered On : Aug 27th, 2009

View all answers by Sarje

If in MyErrorPage.jsp

<%@ page isErroPage="true" %>

is written it doesn't mean this is an Error Object.
If this page is included as error page in any other jsp (suppose MyPage.jsp) using

<% @ page errorPage="MyErrorpage.jsp" %>

then if any Exception is occured in MyPage.jsp then equivelent Exception Object will be created and request will be forwarded to the MyErrorPage.jsp this will generate response so here you can handle the Exception.

Yes  1 User has rated as useful.
  
Login to rate this answer.
Subhan Sun

Answered On : Jun 30th, 2011

View all answers by Subhan Sun

iserrorpage is attribute of page, While executing the page it throws any errors then it returns Exception Object 

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.