aspose file tools*
The moose likes JSP and the fly likes Regular JSP vs. JSP Document (XML format) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Regular JSP vs. JSP Document (XML format)" Watch "Regular JSP vs. JSP Document (XML format)" New topic
Author

Regular JSP vs. JSP Document (XML format)

BiA Vn
Greenhorn

Joined: Mar 26, 2008
Posts: 2
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

Joined: Dec 11, 2004
Posts: 13410

"BiA Vn",
Please check your private messages.
-Ben


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

The intent was that JSPX documents would be created programatically, not by hand.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Regular JSP vs. JSP Document (XML format)