GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Tech FAQs  >  Programming  >  JSP

 Print  |  
Question:  Which tag in the jsp is used to define the error page. (Multiple choice)

Answer: Skill/Topic: Programming Constructs
A)

None of the above

 


B)

 


C)

 

 

D)

 


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


December 12, 2005 02:02:49 #2
 sravankumar uppala   Member Since: Visitor    Total Comments: N/A 

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.

     

 

Back To Question