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



Home Answers Viewqa JSP-Interview-Questions JSP page directive tag syntax

Have Programming Question? Ask it here!
 
 
 


Raj Singh
JSP page directive tag syntax
1 Answer(s)      3 years and 10 months ago
Posted in : JSP-Interview Questions


Descibe the syntax of the page directive with example In JSP.


Advertisement
View Answers

October 25, 2010 at 12:35 PM


Hi,

The JSP page directive tag syntax is:

   <%@ page attributeName="values" %>

The JSP page directive tag examples are:

  <%@ page import = "java.util.*" %>
  <%@ page extends = "package.class"%>
  <%@ page language = "java" %>

Thanks



Related Tutorials/Questions & Answers:
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
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... of the JSP include directive tag is: <%@include file="filename" /> Thanks
Advertisements
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 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 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 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
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
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
JSP Page Directive
JSP Page Directive  Defined JSP Page Directive ?   The <%@ page %> directive applies to an entire JSP file and any of its static... information. Syntax for the page directive is : <%@ page optional attribute ... %>
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 between the tag <%@ and %> before the page (directive
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
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 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 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 "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 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
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 : <%@ page extends = "package.class"%> <%@page import
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
Import attribute of page directive
in a JSP page or separate the Java packages with commas. Syntax : <%@ page...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
Language Attribute In Page Directive
, declarations, and expressions in the JSP page and any included files. Syntax of language attribute for page directive is : <%@ page language = "lang" %> <... in page directive ?   This attribute is used to denote the language used
Language' attribute of JSP page directive
about the general settings of a JSP page. The syntax of the 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
isThreadSafe attribute in the page directive
container sends client requests one at a time to the JSP page. Syntax : <... attribute in the page directive?   autoFlush means it will not clear... multiple, concurrent client requests to the JSP page. You must write code
errorPage attribute in the page directive
attribute in the page directive ?   If the programmer wants to place errors... in this attribute as errorPage. Syntax : <%@ page errorPage="relativeURL" %>   Hi, See example of JSP error page. Thanks
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.../html, and the default character set is ISO-8859-1. Syntax : <%@ page
Buffer attribute in the page directive
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... with at least the size you specified. Syntax : <%@ page buffer="none | 8kb
isErrorPage attribute in the page directive
object in the JSP page. Syntax : <%@ page isErrorPage="true|false" %>... make use of the exception object in the JSP page. Syntax : <%@ page... attribute in the page directive ?   isErrorPage attribute is used
Page Directive attribute - language
by the JSP page. Syntax : <%@page language="scripting language"...Page Directive attribute - language This section contains description of language attribute of page Directive. language Attribute : The language attribute
Page Directive attribute - extends
compiling this JSP page. It is rarely used. Syntax : <%@ page extends="...Page Directive attribute - extends This tutorial  contains description of extends attribute of page Directive. extends Attribute : This attribute
Page Directive attribute - isELIgnored
Page Directive attribute - isELIgnored This tutorial contains description of isELIgnored attribute of page Directive. isELIgnored Attribute : page directive... version and above the default value is false. Syntax : <%@ page isELIgnored
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" %>
jsp directive
jsp directive  code for include two jsp page
jsp directive
jsp directive  code for include two jsp page
Language Attribute In Page Directive
Language Attribute In Page Directive  How use language attribute in page directive
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
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 library that is a collection of tags. The syntax is: <%@ taglib uri
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 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 - 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
 

 

 

DMCA.com