• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

JSP and XML

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am working on a application with frontend as JSPs which interacts with beans (and business logic layer) to get data from Back end(Database).
Data from the database is taken into a Hashtable which populates a Javaobject and sends back to JSPs. This object is passed in JavaScript to do manipulations and populate the client.
Can anybody tell me where I can use XML in this scenario. Can I pass data retrieved from database as in XML format to JSPs instead populating the data retieved from database to a Hashtable and then further populating the Javaobject from the Hashtable.
If I can do this what are the points which stands in favour of this modification.
I am new to XML and never worked on it. It would be very helpful If somebody can tell me, where else can I use XML in my application and why?
Thanks in advance
Shikhar
 
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your registered name "shikharsingh" does not comply with the JavaRanch naming policy. Please choose one that meets the requirements.
Thanks!
------------------
Ajith Kallambella M.
Sun Certified Programmer for the Java�2 Platform.
 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry Ajith ,
I've made the necessary change.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!