Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Regular JSP vs. JSP Document (XML format)

 
BiA Vn
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,

As you know JSP in XML format appeared in JSP 1.2, meaning long time ago. And I would like to ask a quick question:
If your manager ask you : "Why don't you use JSP Document instead of standard JSP?", how will you answer(justify to) him?

So far, I just get some answers:
* JSP documents can be passed directly to the container.
* The XML view of the JSP document can be used to validate the JSP document against a description of the set of valid pages.
* JSP documents can be manipulated via XML-aware tools.
* An XML transformation, like XSLT, can be used to generate a JSP document from a textual representation.

These reasons seem to be not so strong, huh!

But in my opinion, the development time of Regular JSP is much faster than XMLed-JSP. Because you can put JSP/JSTL after having HMLT done. So I still prefer Regular JSP.

In brief, please compare these two from different point of view!
Thanks,
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The intent was that JSPX documents would be created programatically, not by hand.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic