Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSTL SQL Tags

 
Prasad Babu
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • 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
 
Evgeniy Bulanov
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • 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 ...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic