Sunday May 19

Key Concepts

JSF 2 Error Page

PDFPrintE-mail
Thursday, 26 May 2011 10:04
AddThis Social Bookmark Button

Java Server Faces 2.0 Error Page
JSF  2 Error Page 

If no <error-page> elements are declared in the web application deployment descriptor, the runtime must provide a
default error page that contains the following information.

  • The stack trace of the Exception
  • The UIComponent tree at the time the ExceptionEvent was handled.
  • All scoped variables in request, view, session and application scope.
  • If the error happens during the execution of the view declaration language page (VDL)
  • The physical file being traversed at the time the Exception was thrown, such as /user.xhtml
  • The line number within that physical file at the time the Exception was thrown
  • Any available error message(s) from the VDL page, such as: "The prefix "ubiteck" for element "ubiteck:inputBox" is not bound."
  • The viewId at the time the ExceptionEvent was handled

Source : JSF  specs 2.0

Tags: page, error, application, file, time, exception, exceptionevent, physical, ubiteck, /user.xhtml

Add comment


Security code
Refresh

Java Tutorial on Facebook