O'Reilly logo

The Java™ EE 5 Tutorial, Third Edition: For Sun Java System Application Server Platform Edition 9 by Kim Haase, Scott Fordin, Ian Evans, Debbie Carson, Jennifer Ball, Eric Jendrock

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. JavaServer Pages Documents

A JSP document is a JSP page written in XML syntax as opposed to the standard syntax described in Chapter 4. Because it is written in XML syntax, a JSP document is also an XML document and therefore gives you all the benefits offered by the XML standard:

  • You can author a JSP document using one of the many XML-aware tools on the market, enabling you to ensure that your JSP document is well-formed XML.

  • You can validate the JSP document against a document type definition (DTD).

  • You can nest and scope namespaces within a JSP document.

  • You can use a JSP document for data interchange between web applications and as part of a compile-time XML pipeline.

In addition to these benefits, the XML syntax gives the JSP page author ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required