I am developing a web application (JSP and Java Netbeans). On the JSP page there are a few text boxes that need to act as a search engine.

For example:

Start Date
End Date

The user will be required to enter data into each field and then click a search button that will perform a search on the entered data (which is stored in the mySQL db).

Any ideas how this could be done?