On select box 1, set onchange = to a javascript function that submits the form. The action reads the selection made and retrieves the results from the database and stores them in the request and returns the user to the
jsp. Back on the jsp, the second select box detects the inclusion of the results and populates the options.