aspose file tools
The moose likes JSP and the fly likes JSTL SQL Tags Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "JSTL SQL Tags" Watch "JSTL SQL Tags" New topic


Prasad Babu
Ranch Hand

Joined: Jul 17, 2005
Posts: 57
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.
Evgeniy Bulanov

Joined: Dec 19, 2005
Posts: 23
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 ...

Computers are like air conditioners - They stop working properly when you open Windows
jQuery in Action, 3rd edition
subject: JSTL SQL Tags
It's not a secret anymore!