JSPX - XHTML Basic Example

This example illustrates how to use JSPX to produce an XHTML basic document suitable for use with mobile phones, televisions, PDAs, vending machines, pagers, car navigation systems, mobile game machines, digital book readers, smart watches, etc.

JSPX lets you create dynamic documents in a pure XML syntax compatible with existing XML tools. The XML syntax in JSP 1.2 was awkward and required <jsp:root> to be the root element of the document. This is no longer the case in JSP 2.0.

This particular example uses namespace declarations to make the output of this page a valid XHTML document.

Just to prove this is live, here's some dynamic content: Fri Nov 22 20:19:34 CST 2024