Latest Tutorials| Questions and Answers|Ask Questions?|Site Map




Have Programming Question? Ask it here!
 
 
 


Vijay Kumar
JSP Page Directive
5 Answer(s)      3 years and 10 months ago
Posted in : JSP-Interview Questions


Defined JSP Page Directive ?


Advertisement
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: The page directive applies to an entire JSP... unit. or Defines attributes that apply to an entire JSP page. Thanks
JSP Page Directive
JSP Page Directive  Defined JSP Page Directive ?   The <%@ page %> directive applies to an entire JSP file and any of its static... of the calling JSP file.The <%@ page %> directive does not apply to any dynamic
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: language extends import session info errorPage
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: <%@ page attributeName="values" %> The JSP page directive tag
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...; Info Attibute of page directive in JSP. </title></head> <body>
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... the space or not. Following are name of the attributes of the page directive used in 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...;title>Info Attibute of page directive in JSP.</title></head>
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...;head><title>Example of pageEncoding attribute of page directive in JSP
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 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 Include Directive in JSP Page
The Include Directive in JSP Page   ... it in the JSP page. This directive includes the static file in a JSP page...: <html> <head><title>Include Directive 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" & "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 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...;<title>Example of contextType attribute of page directive in JSP.<
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: sessionForm.jsp
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... of isThreadSafe attribute of page directive in JSP.</title></head>
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 '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
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
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 : <%@ page language = "lang" %> <
JSP Directive Tag
JSP Directive Tag  What is JSP Directive tag?   Hi, The answer is: The directive tag gives special information about the JSP Engine... packages, specifying the error handling page or to handle sessionin a JSP page. Thanks
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. or The JSP include directive is used to include
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
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
jsp directive
jsp directive  code for include two jsp page
jsp directive
jsp directive  code for include two jsp 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. Thanks
Language Attribute In Page Directive
Language Attribute In Page Directive  How use language attribute in page directive
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 '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
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
JSP tag lib directive
JSP tag lib directive   What is tag lib directive in the JSP?   Hi, The answer is: Defines a tag library and prefix for the custom tags used in the JSP page. Thanks
JSP include directive tag
JSP include directive tag  What is include directive tag in JSP
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: There are three types of directive tag. 1. page 2. Include 3. Tag Lib Thanks
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
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 : <%@ page autoFlush="true" %>
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
Directive Tags
information of JSP page. JSP defines three types of directive tag. page... for the JSP. Here is the syntax for the page directive: <%@ page optional...; The directive tag provides additional information to the JSP Engine regarding
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 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 - 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 attributes
in three forms: The page directive is written on the top of the jsp page. Some...; info="Jsp page directive attributes Example"...Page directive attributes     
Page Directive attribute - isELIgnored
Page Directive attribute - isELIgnored This tutorial contains description of isELIgnored attribute of page Directive. isELIgnored Attribute : page directive...;%@ page isELIgnored="true" %> <!-- default value for JSP 1.2 -->
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
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
Page Directive attribute - errorPage
Page Directive attribute - errorPage This tutorial  contains description of errorPage attribute of page Directive. errorPage Attribute : Functionality... then the JSP page is redirected to the error page. You can set url
Page Directive attribute - autoFlush
Page Directive attribute - autoFlush This section contains description of autoFlush attribute of page Directive. autoFlush Attribute : The autoFlush... and autoFlush attributes are coded on a single page directive as follows: <%@ page
Page Directive attribute - isErrorPage
Page Directive attribute - isErrorPage This tutorial  contains description of isErrorPage attribute of page Directive. isErrorPage Attribute... JSP page . Default value of the isErrorPage attribute is false. You can use
Advertisements
 

 

 

DMCA.com