|
这个主题共有 7 回复 / 1 页 [
]
|
|
|
|
|
|
setProperty property="*" 怎样处理多选列表
|
发表: 2002年09月04日 09:18
|
回复
|
|
|
jsp页面上有一个可以多选的列表框,提交是我想使用setProperty name="profile" property="*" 进行数据的自动处理,但好像《Jsp中数据bean的直接赋值》一文中只涉及到了input,没有select,又没有区别呢?
|
|
|
|
|
|
Re: setProperty property="*" 怎样处理多选列表
|
发表: 2002年09月04日 09:41
|
回复
|
|
|
|
|
|
|
|
Re: setProperty property="*" 怎样处理多选列表
|
发表: 2002年09月04日 14:05
|
回复
|
|
|
如果select选中了一个以上的值,怎么半?jsp中可以使用request.getParameterValues(),但是在javaBean中呢?
|
|
|
|
|
|
Re: setProperty property="*" 怎样处理多选列表
|
发表: 2002年09月04日 16:40
|
回复
|
|
|
好像不行了,Javabeans有个转换表,参看那个表。
|
|
|
|
|
|
Re: setProperty property="*" 怎样处理多选列表
|
发表: 2002年09月04日 16:52
|
回复
|
|
javabean里定义 String[] condition = null;
getCondition()
setCondition(Stirng[] condition)
|
|
|
|
|
|
Re: setProperty property="*" 怎样处理多选列表
|
发表: 2002年09月05日 08:57
|
回复
|
|
我成功了。 public void setXXX(String[] xxxx) { if(xxxx = null) return; xxx = new String[xxxx.length]; for(int i=0; i<xxxx.length; i++) { xxx = xxxx; { }
|
|
|
|
|
|
Re: setProperty property="*" 怎样处理多选列表
|
发表: 2002年09月05日 09:39
|
回复
|
|
|
|
|
|
|
|
re:setProperty property="*" 怎样处理多选列表
|
发表: 2008年02月04日 17:36
|
回复
|
|
|
遇到N年前大家遇到的问题,Banq真的比较Niubiligy.
|
|
|
|