SCJP Certification

Sun Certified Java Programmer Certification exam essentials

February 26th, 2010

What is jsp:output?

SCWCD, by Daisy Williams.

The element is used to modify the XML declaration property of the output of a JSP document or tag file. This action can be used only in the JSP documents and in tag files that are in XML syntax. The XML declaration property in JSP2.0 can only be modified. All attributes of the are optional but some of them depend upon other attributes. This attribute contains the following attributes:

  1. omit-xml-declaration: It is used to specify a value of true or yes and omits the XML declaration.
  2. doctype-root-element: It indicates the root element of the XML document in the DOCTYPE.
  3. doctype-system: It specifies that a DOCTYPE is generated in output and gives SYSTEM literal.
  4. doctype-public: It specifies the value for the Public ID of the generated DOCTYPE. It can be specified if the doctype-system is specified.
Share

Back Top

Responses to “What is jsp:output?”

Comments (0) Trackbacks (0) Leave a comment Trackback url
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Your email address will not be published. Required fields are marked *

*