The Artima Developer Community
Sponsored Link

Java Buzz Forum
JSP XML syntax

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Simon Brown

Posts: 636
Nickname: simonbrown
Registered: Jun, 2003

Simon Brown is a Java developer, architect and author.
JSP XML syntax Posted: Oct 14, 2005 1:45 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Simon Brown.
Original Post: JSP XML syntax
Feed Title: Simon Brown's weblog
Feed URL: http://www.simongbrown.com/blog/feed.xml?flavor=rss20&category=java
Feed Description: My thoughts on Java, software development and technology.
Latest Java Buzz Posts
Latest Java Buzz Posts by Simon Brown
Latest Posts From Simon Brown's weblog

Advertisement

In JSP XML syntax, Koert asks...

Isn't it odd that this is so badly documented?

Fair comment. It's documented in the JSP specification, but you won't find much else about it on the web or in books. From my perspective, the reason for this is that nobody actually uses it. Okay, that's a bit of a generalization, but it's mostly true. The XML view of a JSP page is designed to be used programmatically by tools and not to be read/written by humans.

The great thing about the XML view is that it's well-formed XML, which you can parse and transform as necessary. Of course, the major problem is that it's verbose and pretty unreadable. Interestingly, the XML view of a JSP 2.x page can be more readable than its JSP 1.x counterpart. The reason for this is that you have the option to use the integrated expression language support instead of using a mixture of custom tags and runtime expressions translated into their XML equivalents. Still, *I* wouldn't want to actually develop JSP pages in this format and I don't actually remember anybody else using it either! ;-)

Read: JSP XML syntax

Topic: The Status Symbol of Round Tables Previous Topic   Next Topic Topic: [Oct 10, 2005 14:49 PDT] 3 Links

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use