||Writing JSPs in XML using JSP 1.2|
Response to: Pointless article
|The rationale for putting something in XML should not have to be reiterated each time something becomes XML compliant. The reasons are well-established. But for starters, JSP syntax before XML is really messy and hard to parse if you want to do anything useful with it, such as extracting all of the sql statements you might have embedded using in a JSTL page, and then putting them into another page. With XML, you could quickly write an XSLT transform to do that work for you. In an nutshell, XML offers the prospect of maintenance, not just output to a variety of end-user formats. Granted, the marketing has focused on the latter, but the former is a real boon to programmers. It is, in fact, a great step toward genuine literate programming.|
Showing messages 1 through 1 of 1.
2005-11-21 07:56:14 TheJavaMaster [View]