在写<html:multibox>时一定要给它赋一个初始值,也就是一定得给它的value弄个值否则会报如下错误:

You must specify the value attribute or nested tag content

在页面中使用复选框的时候可能会出现以下错误:

No getter method available for property className for bean under name org.apache.struts.taglib.html.BEAN原因应该是在该jsp对应的form中没有相应的属性以及set get方法。例如:<html:multibox property=”seleceAll” />在对应的form中必须对selectAll进行定义并赋于setget方法,否则就会上面的错误。