• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

XML Vs JSP

 
Ranch Hand
Posts: 428
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
What is XML? What is difference between XML and JSP?
Thanks in advance,
Angela
 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
reply
    Bookmark Topic Watch Topic
  • New Topic