posted 4 years ago
In short, I want to make a JSP with a combobox and a button. When I click the button, it should read the combobox, find the tag that has that name in an xml file, read the link that's between the tags and connect to an SQL database by using the link. I've already managed to do this in a desktop application, so I know what commands I should use. The problem is, I can't write the code in JSP because a button click is client-side. Should I use a servlet or AJAX, and how should I use them? Or am I just oblivious to another obvious and simpler answer?
Author and ninkuma