关于STRUTS标签的问题
学习Struts标签的multibox没弄明白自己弄测试结果报这个错请明白的帮我看看问题谢谢各位org.apache.jasper.JasperException:Exc...
学习Struts标签的multibox没弄明白 自己弄测试结果报这个错 请明白的帮我看看问题
谢谢各位
org.apache.jasper.JasperException: Exception in JSP: /update.jsp:29
29: <logic:iterate id="name" property="intName" >
30: <html:multibox property="selectedName">
31: <bean:write name="name"/>
32: </html:multibox>
起 因
java.lang.NullPointerException: 属性名称是NULL
ActionForm是这个
private String[] intName={"tom","jim","tim","him"};
private String[] selectedName={};
public String[] getSelectedName() {
return selectedName;
}
public void setSelectedName(String[] selectedName) {
this.selectedName = selectedName;} 展开
谢谢各位
org.apache.jasper.JasperException: Exception in JSP: /update.jsp:29
29: <logic:iterate id="name" property="intName" >
30: <html:multibox property="selectedName">
31: <bean:write name="name"/>
32: </html:multibox>
起 因
java.lang.NullPointerException: 属性名称是NULL
ActionForm是这个
private String[] intName={"tom","jim","tim","him"};
private String[] selectedName={};
public String[] getSelectedName() {
return selectedName;
}
public void setSelectedName(String[] selectedName) {
this.selectedName = selectedName;} 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询