aspose file tools*
The moose likes XML and Related Technologies and the fly likes XML Vs JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XML Vs JSP" Watch "XML Vs JSP" New topic
Author

XML Vs JSP

Angela Jessi
Ranch Hand

Joined: Nov 27, 2000
Posts: 428
hi,
What is XML? What is difference between XML and JSP?
Thanks in advance,
Angela
Arun, Shanmugham
Ranch Hand

Joined: Apr 05, 2001
Posts: 34
Hi Angela,
XML is an open standard Architecture like HTML. Basically it is a Markup language like HTML. But in XML u can do so many things like creating ur own tags. The main advantage is that, u will make the content more meaning ful in XML. For eg. if the address is typed in HTML as <p> Address line1 , Address Line2, Coimbatore , 23232</P> , u dont know which is phone number and which is pincode. But in XML it will be
<address>
<line1> Address line1</line1>
<line2>Address line2</line2>
<pincode>23232</pincode>
</address>
Here everthing is more clear and meaningful, which can help u in more specific search also.
JSP is different from XML in the way of interpretation itself. XML uses an XML parses to interpret the XML code, whereas the JSP codes are interpreted to servlet and the servlet Engine takes care of rest.
Arun
SCJP

Sun Certified Programmer for Java2 Platform
 
 
subject: XML Vs JSP