日期:2014-05-16  浏览次数:20462 次

Jsp传递checkbox的值并做判断
<input
									name="feeds.levelImportant"
									type="checkbox"
									<s:if test="feeds.levelImportant == \"on\"">
										checked="checked"
									</s:if>
								>


public List retrieve(WeiboFeeds feeds) {
		List list = new ArrayList();

		String[] strEqlArr = joinEql(feeds);