With this task, you will initialize the combobox widgets with the server-side data.
Open index.jsp into the source editor pane.
Expand the JSP node in the Palette and select and drag Use Bean into the Source Editor below the h1 tag.
In the Insert Use Bean dialog box, enter the following values and then click OK.
The IDE generates the following tag:
<jsp:useBean id="StateBean" scope="session" class="plotCity.StateBean" />
This tag gives index.jsp access to the StateBean component.
Replace the value attribute of the thisState tag with an EL expression that points to the states property of StateBean:
Replace the value element of the thisCity tag with an EL expression that points to the cities property of StateBean.
Save the file.
(Optional) Right-click the project node and select Run.
Your browser should open and show the two comboboxes populated with the data your created. With the next set of tasks, you will add the event-handling mechanism so that you can select a city and plot it on the map.