This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am creating a cd search engine website. I want a user to be able to type in the name of the cd they are looking for and I will have programs in the background doing the searching for them. Eventually I will search several websites but for now Ill settle just for searching CDWOW and returning their results. I have managed to create several Java classes that search http://www.cdwow.ie for an album and return the results back as XML but within the Java program. I want the user to be able to use a JSP webpage with a form to be able to search for whatever cd they want. When they type in U2 for example I want U2 to be passed into the Java program. Also I would like the results of the seach that are in XML to be in abrand new XML or HTML file. Thanks Brian Mulvany
This sounds more like it belongs in the Servlets forum (or the JSP forum), but what you need to do is have the form on the JSP POST to a Servlet. Then the Servlet reads the parameters from the form and calls your search engine with those parameters. The Servlet can then either do something with the results or redirect to another JSP page.
Piscis Babelis est parvus, flavus, et hiridicus, et est probabiliter insolitissima raritas in toto mundo.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Passing values from JSP page to Java program