GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Tech FAQs  >  Programming  >  JSP
Next Question 
 JSP  |  Question 1 of 184    Print  
Which tag in the jsp is used to define the error page. (Multiple choice)
Skill/Topic: Programming Constructs
A)

None of the above

 


B)

 


C)

 

 

D)

 


Explanation: b and c are the tags inside the error-page tag


  
Total Answers and Comments: 5 Last Update: August 12, 2008   
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: sravankumar uppala
 

There are two attributes in JSP directive

 <%@page errorPage="/WEB-INF/error.jsp" %>

 Specifies a JSP page that should process any Exceptions thrown but not caught in the current page.

 This Attribute is only releated for page-specific error pages only.

 <%@page isErrorPage="true" %>

 Indicates whether or not the current page can act as the error page for another JSP page.



Above answer was rated as good by the following members:
amar4java
December 19, 2005 07:28:36   #1  
ananthu_raman        

RE: Which tag in the jsp is used to define the error p...

page directive iserrorpage attribute is used to define the error page in jsp


 
Is this answer useful? Yes | No
December 28, 2005 02:02:49   #2  
sravankumar uppala        

RE: Which tag in the jsp is used to define the error p...

There are two attributes in JSP directive

< @page errorPage /WEB-INF/error.jsp >

Specifies a JSP page that should process any Exceptions thrown but not caught in the current page.

This Attribute is only releated for page-specific error pages only.

< @page isErrorPage true >

Indicates whether or not the current page can act as the error page for another JSP page.


 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
March 28, 2006 07:04:17   #3  
reshmarout        

RE: Which tag in the jsp is used to define the error p...

< @page errorPage url of the error page >is used to define the error page.

Before this you have to define the tag< @page isErrorPage true >


 
Is this answer useful? Yes | No
May 21, 2006 10:24:53   #4  
bae Member Since: December 2005   Contribution: 18    

RE: Which tag in the jsp is used to define the error p...
Options are blank.......Pls add the options to mark the correct one
 
Is this answer useful? Yes | No
August 12, 2008 12:08:06   #5  
snavanethakrshnan Member Since: August 2008   Contribution: 5    

RE: Which tag in the jsp is used to define the error page. (Multiple choice)
isErrorpage attribute
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape