首先要是SearchAction中将已提交的SearchForm再request.setAttribute(mapping.getName(),form);把Form放到页面上。
页面上的select域一定要是struts的标签,否则Action将不能把Form映谢到select域。
<html:select property=““>
<html:option>something</html:option>
</html:select>
页面上的select域一定要是struts的标签,否则Action将不能把Form映谢到select域。
<html:select property=““>
<html:option>something</html:option>
</html:select>