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: Tue Nov 05 03:34:52 GMT-03:00 2024