Selection Form Generation
The lesser evil here seems to be including a little HTML generation code in the Bean. The form-generating JSP for the selection page is:
<html><head></head><body>
<form action=view.jsp>
Select by ID:<br>
<jsp:getProperty name=“dbs” property=“menu”/>
View selected record: <input type=submit value=“View”>
</form>
</body></html>
The property menu of the Bean is assumed to be a string containing a suitable HTML select element.