I'm using an XML file as database and I need to be able to search for a particular
text node in it based on the users search input.
Ideas to proceed
1) When the user enters the search phrase and clicks on search, call a jsp which takes
the input and then calls the respective file with another xsl (how do I do this? do I
parse the file and rewrite it with a diff xsl?)where the value is passed as a
parameter and it displays only that set of nodes.
2)When the user enters the search phrase and clicks on search, I use a jsp file to
accept the parameter and then call the xml file parse it and extract the nodes
required and display it on the screen.
Do tell me which is a better option and how to go about it?
Or if there is any better way to go about this?
I'm working on a Linux platform, with Apache, Tomcat, JSP, XML.
Thanks
Priya
_________________________________________________
Get Your Free Email At, http://www.rediffmail.com
For fabulous shopping deals visit: http://www.rediff.co.in/shopping/index.html
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets