• 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

JSTL SQL Tags

 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
I am developing a samll application for my personal use. I want to use XML file for data storage and retrieval. and I want use JSP for view layer. In JSP I would like to use JSTL as this is very small application. This application has one JSP to add data to XML file and another JSP to search data from XML file. I know the XML tags and SQL tags available in JSTL.

My problem is "Can I set the datasource in SQL tag as the specified XML file instead of setting MySQL or ORACLE?" If so How would it be?
and can I fire SQL queries for fetching, inserting and updating data in the XML file.

Please anyone know how to do this reply with example if possible.

Thanks in advance.
Prasad
 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Prasad Babu Dandu, XML is good. But not anywhere. I think you should create your own tags to work with xml. But there is a question. Why dont you use database? for example sybase anywhere embedded ...
 
My favorite is a chocolate cupcake with white frosting and tiny ad sprinkles.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic