ShowAction javaクラスがあります。クラスが成功すると、JSPページが表示され、そのjspページには次のものが含まれます。
<bean:define id="stateTypes" name="sessionData" property="stateTypes" />
<html:select property="issueStateCode" styleClass="smallDropInput" tabindex="5" styleId="myId">
<html:options collection="stateTypes" property="value" labelProperty="label" />
</html:select>
私のShowActionJavaクラスでは、<html:select>
(JSP)の値を次のように設定しています。
sessionData.setStateTypes(TypeHelper.getTypeList(TypeHelper.TYPE_JURISDICTION,
sessionData.getCarrierId(), sessionData.getProductId()));
<html:select>
JSPが表示されるときに選択または自動入力されるリストから特定の値を設定したいと思います。