errorPage attribute in the page directive

errorPage attribute in the page directive

How use errorPage attribute in the page directive ?

View Answers

October 27, 2010 at 6:30 PM

If the programmer wants to place errors in a different page then the URL to the error page can be mentioned in this attribute as errorPage.

Syntax :

<%@ page errorPage="relativeURL"  %>

October 27, 2010 at 7:13 PM

Hi,

See example of JSP error page.

Thanks









Related Tutorials/Questions & Answers:
errorPage attribute in the page directive
errorPage attribute in the page directive  How use errorPage attribute in the page directive ?   If the programmer wants to place errors... in this attribute as errorPage. Syntax :ADS_TO_REPLACE_1 <%@ page errorPage="relativeURL
Page Directive attribute - errorPage
Page Directive attribute - errorPage This tutorial  contains description of errorPage attribute of page Directive. errorPage Attribute : Functionality of errorPage attribute is to define the error page. If there is exception
Advertisements
The errorPage Attribute of page Directive In JSP
The errorPage Attribute of page Directive In JSP... the errorPage attribute of the page directive in JSP. This attribute sets a url... of the errorPage attribute of the page directive. About the error.jsp page:ADS
The "errorPage" & "isErrorPage" Attribute of Page Directive
; & "isErrorPage"  attribute of Page Directive. The "errorPage" Attribute When an unhandled Exception occurs in JSP page...The "errorPage" & "isErrorPage"  Attribute of Page
Language Attribute In Page Directive
Language Attribute In Page Directive  How use language attribute in page directive
Language Attribute In Page Directive
Language Attribute In Page Directive  How use language attribute in page directive ?   This attribute is used to denote the language used... of language attribute for page directive is :ADS_TO_REPLACE_1 <%@ page language
Import attribute of page directive
Import attribute of page directive   How use import attribute of page directive ?   The import attribute is used to import all the classes in a java package into the current JSP page. If there are many Java packages
contentType attribute in the page directive
contentType attribute in the page directive  How use contentType attribute in the page directive ?   contentType attribute is used to set...;%@ page contentType="text/html;charset=ISO-8859-1"%>
Extends Attribute of page Directive
Extends Attribute of page Directive   How use language extends in page directive ?   This is used to signify the fully qualified name... Servlet. Syntax : ADS_TO_REPLACE_1 <%@ page extends = "package.class"%> <
Buffer attribute in the page directive
Buffer attribute in the page directive  How use buffer attribute in the page directive?   The buffer size in kilobytes used by the out object to handle output sent from the compiled JSP page to the client Web browser
AutoFlush attribute in the page directive
AutoFlush attribute in the page directive  How use autoFlush attribute in the page directive?   Whether the buffered output should.... Syntax : ADS_TO_REPLACE_1 <%@ page autoFlush="true" %>
isThreadSafe attribute in the page directive
isThreadSafe attribute in the page directive  How use autoFlush attribute in the page directive?   autoFlush means it will not clear... multiple, concurrent client requests to the JSP page. You must write code
isErrorPage attribute in the page directive
isErrorPage attribute in the page directive  How use isErrorPage attribute in the page directive ?   isErrorPage attribute is used...; isErrorPage attribute is used to specify whether or not a JSP page displays
Page Directive attribute - isErrorPage
Page Directive attribute - isErrorPage This tutorial  contains description of isErrorPage attribute of page Directive. isErrorPage Attribute : This attribute of page directives sets the boolean value either true or false
Page Directive attribute - language
Page Directive attribute - language This section contains description of language attribute of page Directive. language Attribute : The language attribute is one of attribute of page directive. Its functionality to specify
Page Directive attribute - pageEncoding
Page Directive attribute - pageEncoding This tutorial contains description of pageEncoding attribute of page Directive. pageEncoding Attribute : Page directive provides pageEncoding attribute to specify the language that the page uses
The info Attribute of page Directive In JSP
The info Attribute of page Directive In JSP  ... about the info attribute of the page directive in JSP. This attribute simply... of info attribute of the page directive." %> <html> <head>
Page Directive attribute - extends
Page Directive attribute - extends This tutorial  contains description of extends attribute of page Directive. extends Attribute : This attribute specifies the super class of the JSP page's implementation servlet. It allows
Page Directive attribute - buffer
Page Directive attribute - buffer This section contains description of buffer attribute of page Directive. buffer Attribute : This attribute is used...;body> <%@page buffer="16kb" %> <b>Date :</b> <
Page Directive attribute - isThreadSafe
Page Directive attribute - isThreadSafe This tutorial  contains description of isThreadSafe attribute of page Directive. isThreadSafe Attribute..."> isThreadSafe attribute example of page directive.</font> <
Page Directive attribute - autoFlush
Page Directive attribute - autoFlush This section contains description of autoFlush attribute of page Directive. autoFlush Attribute : The autoFlush..., the buffer and autoFlush attributes are coded on a single page directive
Page Directive attribute - info
Page Directive attribute - info This tutorial  contains description of info attribute of page Directive. info Attribute : info attribute of page...;%@page info="This is info Attribute of page directive"%> <
Page Directive attribute - import
Page Directive attribute - import This tutorial  contains description of import attribute of page Directive. import  Attribute : This attribute of page directive imports single package and classes or list of packages
Page Directive attribute - isELIgnored
Page Directive attribute - isELIgnored This tutorial contains description of isELIgnored attribute of page Directive. isELIgnored Attribute : page directive provides isELIgnored attribute which is of boolean type. This attribute
Page Directive attribute - contentType
Page Directive attribute - contentType This section contains description of contentType attribute of page Directive. contentType Attribute : The contentType attribute defines the MIME type for the response an defines the character
Page Directive attribute - session
Page Directive attribute - session This tutorial contains description of session attribute of page Directive. session Attribute : session attribute is one of attribute of page directives. Its functionality to show whether or not page
The "contentType" Attribute of Page Directive
The "contentType" Attribute of Page Directive In this Section, we will discuss about the "contentType" attribute of page directive...;contentType" page directive attribute. contenttypejsp1.jsp <
The info Attribute of page Directive In JSP
The info Attribute of page Directive In JSP  ... about the info attribute of the page directive in JSP. This attribute simply...;This is the example of info attribute of the page directive." %> <html>
The pageEncoding Attribute of page Directive In JSP
The pageEncoding Attribute of page Directive In JSP... illustration about the pageEncoding attribute of the page directive in JSP... of pageEncoding attribute of page directive.</strong></td>
The autoFlush Attribute of page Directive In JSP
The autoFlush Attribute of page Directive In JSP  ... the autoFlush attribute of the page directive in JSP. This is an boolean attribute. This attribute of the page directive supports for flushing buffer automatically when
The isErrorPage Attribute of page Directive In JSP
The isErrorPage Attribute of page Directive In JSP... illustration of the isErrorPage attribute of the page directive in JSP by providing... attribute of the page directive. About the error.jsp page:ADS_TO_REPLACE_2
The buffer Attribute of page Directive In JSP
The buffer Attribute of page Directive In JSP  ... attribute of the page directive in JSP. This attribute sets the buffer size in kilobytes i.e. used by the out object to handle output generated by the JSP page
The isThreadSafe Attribute of page Directive In JSP
The isThreadSafe Attribute of page Directive In JSP... a type of the attribute of the page directive in JSP as known as isThreadSafe... isThreadSafe attribute of the page directive is set with the true which enables
The session Attribute of page Directive In JSP
The session Attribute of page Directive In JSP  ... illustration of the session attribute of the page directive in JSP... attribute of the page directive of JSP. These are:ADS_TO_REPLACE_1
The contentType Attribute of page Directive In JSP
The contentType Attribute of page Directive In JSP... illustration about the contentType attribute of the page directive in JSP... setting the different values of the contentType attribute of the page directive
The "isThreadSafe" & "info" Attribute of JSP page directive
;info "attribute of JSP page directive. The "isThreadSafe" attribute of JSP page Directive   This attribute tells us whether thread... code. The "info" attribute of JSP page directive The "
The 'session' Attribute of JSP page Directive
The 'session' Attribute of JSP page Directive This section, illustrate about 'session' attribute of page directive with help of a example... or not. This directive attribute has Boolean data type. If the vale of "session" sets
The 'buffer' and 'autoFlush' Attribute of JSP page directive
; attribute of JSP page directive. The 'buffer' attribute The out...The 'buffer' and 'autoFlush' Attribute of  JSP page... and minimum value of the buffer attribute is 8kb. Syntax : <%@page
"import" Attribute of page directive
"import" Attribute of page directive In this Section , we will discuss about the "import" attribute of a JSP & its use in JSP page... Attribute of page Directive in JSP</title></head> <body>ADS
Language' attribute of JSP page directive
'Language' attribute of JSP page directive In this Section , we will discuss about the "language" attribute of a JSP page & its use..._name" %>  Code using 'language' attribute of JSP page directive
The "pageEncoding" attribute of JSP page directive
The "pageEncoding" attribute of JSP page directive In this section... attribute of the page directive of the page. It is a translation-time error to name different encodings in the pageEncoding attribute of the page directive
JSP Page Directive
errorPage IsErrorPage contentType   The <%@ page %> directive applies... directive is :ADS_TO_REPLACE_2 <%@ page optional attribute ... %>... for the page directive is :ADS_TO_REPLACE_4 <%@ page optional attribute
The Page Directive in JSP Page
the page (directive name) and after values of the last attribute, is optional, you... isELIgnored language: This is the attribute of the page directive of the JSP... is 8kb. autoFlush: This attribute of the page directive supports for flushing
JSP page directive tag atributes
JSP page directive tag atributes  The list of the page directive tag attributes in the JSP.   Hi, The list of the JSP page directive tag... errorPage contentType buffer autoFlush isThreadSafe IsErrorPage
JSP page directive tag
JSP page directive tag  What is page directive tag in JSP?.   Hi, The answer given below:ADS_TO_REPLACE_1 The page directive applies to an entire JSP file and any of its static include files, which together are called
Page directive attributes
Page directive attributes     ... instructions to the container at page translation time. The directive comes in three forms: The page directive is written on the top of the jsp page. Some
JSP page directive tag syntax
JSP page directive tag syntax  Descibe the syntax of the page directive with example In JSP.   Hi, The JSP page directive tag syntax... directive tag examples are: <%@ page import = "java.util.*" %> <%@ page
The import Attribute of page Directive In JSP
The import Attribute of page Directive In JSP  ... of the page directive in JSP and the value of the attribute is the "... of Extends Attribute of page Directive in JSP</title></head> <
The Include Directive in JSP Page
The Include Directive in JSP Page   ... directive of the JSP. You will learn about what is include and how to implement it in the JSP page. This directive includes the static file in a JSP page
How to include a File using directive and include action
one attribute named as file, which is used to include a file in the jsp page..., whether it is a html, xml or any jsp page we should use include directive...How to include a File using directive and include action

Ads