JSP Page Directive

JSP Page Directive

Defined JSP Page Directive ?

View Answers

October 27, 2010 at 3:36 PM

The <%@ page %> directive applies to an entire JSP file and any of its static include files, which together are called a translation unit. A static include file is a file whose content becomes part of the calling JSP file.The <%@ page %> directive does not apply to any dynamic include files; see for more information.

Syntax for the page directive is :

<%@ page optional attribute ... %>

There are many optional attributes available for page directive.

  • language
  • extends
  • import
  • session
  • buffer
  • autoFlush
  • isThreadSafe
  • info
  • errorPage
  • IsErrorPage
  • contentType

October 27, 2010 at 3:38 PM

The <%@ page %> directive applies to an entire JSP file and any of its static include files, which together are called a translation unit. A static include file is a file whose content becomes part of the calling JSP file.The <%@ page %> directive does not apply to any dynamic include files; see for more information.

Syntax for the page directive is :

<%@ page optional attribute ... %>

There are many optional attributes available for page directive.

  • language
  • extends
  • import
  • session
  • buffer
  • autoFlush
  • isThreadSafe
  • info
  • errorPage
  • IsErrorPage
  • contentType

October 27, 2010 at 3:43 PM

The <%@ page %> directive applies to an entire JSP file and any of its static include files, which together are called a translation unit. A static include file is a file whose content becomes part of the calling JSP file.The <%@ page %> directive does not apply to any dynamic include files; see for more information.

Syntax for the page directive is :

<%@ page optional attribute ... %>

There are many optional attributes available for page directive.

  • language
  • extends
  • import
  • session
  • buffer
  • autoFlush
  • isThreadSafe
  • info
  • errorPage
  • IsErrorPage
  • contentType

October 27, 2010 at 3:43 PM

The <%@ page %> directive applies to an entire JSP file and any of its static include files, which together are called a translation unit. A static include file is a file whose content becomes part of the calling JSP file.The <%@ page %> directive does not apply to any dynamic include files; see for more information.

Syntax for the page directive is :

<%@ page optional attribute ... %>

There are many optional attributes available for page directive.

  • language
  • extends
  • import
  • session
  • buffer
  • autoFlush
  • isThreadSafe
  • info
  • errorPage
  • IsErrorPage
  • contentType

October 27, 2010 at 3:49 PM

The <%@ page %> directive applies to an entire JSP file and any of its static include files, which together are called a translation unit. A static include file is a file whose content becomes part of the calling JSP file.The <%@ page %> directive does not apply to any dynamic include files; see for more information.

Syntax for the page directive is :

<%@ page optional attribute ... %>

There are many optional attributes available for page directive.

  • language
  • extends
  • import
  • session
  • buffer
  • autoFlush
  • isThreadSafe
  • info
  • errorPage
  • IsErrorPage
  • contentType









Related Tutorials/Questions & Answers:
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
JSP Page Directive
JSP Page Directive  Defined JSP Page Directive ?   The <%@ page %> directive applies to an entire JSP file and any of its static... part of the calling JSP file.The <%@ page %> directive does not apply
Advertisements
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 attributes is:ADS_TO_REPLACE_1 language extends import session info
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 is:ADS_TO_REPLACE_1 <%@ page attributeName="values" %> The JSP page
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...;<title> Info Attibute of page directive in JSP. </title><
The Page Directive in JSP Page
The Page Directive in JSP Page     ... and explanation one-by-one. This is the directive of the JSP page which defines... isELIgnored language: This is the attribute of the page directive of the 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...; <head><title>Info Attibute of page directive in JSP.</title><
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
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... the syntaxes of the attribute of the page directive in JSP. In the following JSP
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 page directive in JSP.</title></head> <body> <
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 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... the url then the attribute refers to the current page of your JSP application
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...;Example of isThreadSafe attribute of page directive in JSP.</title><
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...;Example of contextType attribute of page directive in JSP.</title><
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 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 three JSP pages and it's output. This is a boolean attribute of the page
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 'buffer' and 'autoFlush' Attribute of JSP page directive
; attribute of JSP page directive. The 'buffer' attribute The out object  uses buffer to handle output generated by the JSP page...The 'buffer' and 'autoFlush' Attribute of  JSP page
JSP include directive tag
JSP include directive tag  What is include directive tag in JSP?   Hi, The JSP include directive includes a static file or sends a request to a dynamic file.ADS_TO_REPLACE_1 or The JSP include directive is used
jsp directive
jsp directive  code for include two jsp page
jsp directive
jsp directive  code for include two jsp page
JSP include directive tag
JSP include directive tag  What is include directive tag in JSP
JSP tag lib directive
JSP tag lib directive   What is tag lib directive in the JSP?   Hi, The answer is:ADS_TO_REPLACE_1 Defines a tag library and prefix for the custom tags used in the JSP page. Thanks
Language' attribute of JSP page directive
'Language' attribute of JSP page directive In this Section , we... in JSP page. A directive element in a JSP page provides global information about... about the general settings of a JSP page. The syntax of the page directive
Type of JSP Directive Tag
Type of JSP Directive Tag  How many types of directive tag in the JSP?   Hi, The answer is given below:ADS_TO_REPLACE_1 There are three types of directive tag. 1. page 2. Include 3. Tag Lib Thanks
JSP Directive Tag
JSP Directive Tag  What is JSP Directive tag?   Hi... the JSP Engine. The directive tags are used for simple java programming call like... a JSP page. Thanks
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...:useBean> element with scope="session" in JSP page. The default value
Import attribute of page directive
Import attribute of page directive   How use import attribute of page... in a java package into the current JSP page. If there are many Java packages that the JSP page wants to import, the programmer can use import more than once
Language Attribute In Page Directive
in page directive ?   This attribute is used to denote the language used..., declarations, and expressions in the JSP page and any included files. Syntax of language attribute for page directive is :ADS_TO_REPLACE_1 <%@ page language
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 of the Super class of the Java class used by the JSP engine for the translated
isThreadSafe attribute in the page directive
attribute in the page directive?   autoFlush means it will not clear... multiple, concurrent client requests to the JSP page. You must write code in the JSP page to synchronize the multiple client threads. If you use false, the JSP
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 the mime type and character set of the JSP. The user can make use of any MIME
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 "... provided which class has been imported in the following JSP code like <%@page
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..." %>   Hi, See example of JSP error page. ThanksADS
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
Language Attribute In Page Directive
Language Attribute In Page Directive  How use language attribute in page directive
Directive Tags
information of JSP page. JSP defines three types of directive tag.ADS... preferences for the JSP. Here is the syntax for the page directive: <%@ page...; The directive tag provides additional information to the JSP Engine regarding
isErrorPage attribute in the page directive
attribute in the page directive ?   isErrorPage attribute is used to specify whether or not a JSP page displays an error page by setting the value as true... make use of the exception object in the JSP page. If the value is set to true
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 - 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
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" %>
JSP Taglib Directive using process
JSP Taglib Directive using process  How is Taglib Directive used in JSP?   Hi, The Taglib directive provide the functionality to use tag...;%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="core" %> Multiply 5
The "include" directive of JSP
Directive JSP Page.</title></head> <body> <font color="... will discuss about "include" directive of JSP with an example. The include... the compilation of the JSP page and executes later. ? Creates the contents
Page Directive attribute - isThreadSafe
Page Directive attribute - isThreadSafe This tutorial  contains description of isThreadSafe attribute of page Directive. isThreadSafe Attribute... at the beginning of the JSP page. This attribute defines the behavior of threads
Page directive attributes
in three forms: The page directive is written on the top of the jsp page. Some...; import="java.util.*" info="Jsp page directive attributes...;#660000">These all are Jsp Page directive attributes.</FONT> <
Page Directive attribute - isELIgnored
Page Directive attribute - isELIgnored This tutorial contains description of isELIgnored attribute of page Directive. isELIgnored Attribute : page directive...;%@ page isELIgnored="false" %> <!-- default value for JSP 2.0
Page Directive attribute - info
Page Directive attribute - info This tutorial  contains description of info attribute of page Directive. info Attribute : info attribute of page directives sets the information of the JSP page which can be retrieved later
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 - contentType
Page Directive attribute - contentType This section contains description of contentType attribute of page Directive. contentType Attribute... is valid for jsp page. By default MIME type value for jsp page is text/html
JSP include directive tag syntax and example
JSP include directive tag syntax and example  The syntax and example of the JSP include directive tag.   Hi, The syntax of the JSP include...; The example of the JSP include directive tag is: <%@include file="filename" />

Ads