• 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
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

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 ...
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic