Basic Rewriting

This example just shows adding a simple custom tag to a mostly-JSP example. The stylesheet is also very simple. It just rewrites the <a> tag.

The XTP source can have JSP, like 2 + 2 = 4

The only special tag is <a href>, which automatically rewrites the <a href=foo/> to <a href='<%= response.encodeURL("foo") %>'>