Use the drop-down list box in Struts

xiaoxiao2021-03-06  19

In action, call dao or other helper method to retrieve data for dropdown listput the data (list / collection / array) to request or formbean propertyrequest.setAttribute ( "cityList", cityHelper.getAllCityLabelValueBean ()); cityListProperty = cityHelper.getAllCityLabelValueBean () ;

In jspfor request

Oral

For Property Of Formbean

转载请注明原文地址:https://www.9cbs.com/read-44622.html

New Post(0)