各位大神:关于使用java对象生成多个复选框的问题怎么解决啊?谢谢! 10
这里有一样的问题:http://www.crazyit.org/thread-5856-1-1.html...
这里有一样的问题:http://www.crazyit.org/thread-5856-1-1.html
展开
1个回答
展开全部
Action中这样定义:
private Book[] books= new Book[]{
new Book("疯狂Java讲义","李刚"),
new Book("轻量级Java EE企业应用实战","李刚"),
new Book("经典Java EE企业应用实战","李刚"),
new Book("疯狂Ajax讲义","李刚")
};
public Book[] getBooks(){
return books;
}
private Book[] books= new Book[]{
new Book("疯狂Java讲义","李刚"),
new Book("轻量级Java EE企业应用实战","李刚"),
new Book("经典Java EE企业应用实战","李刚"),
new Book("疯狂Ajax讲义","李刚")
};
public Book[] getBooks(){
return books;
}
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询