日期:2014-05-16 浏览次数:20304 次
<form action="searchNews.do" method="post"> 本站搜索: <input type="text" name="searchParam" style="height:20px" value="<c:out value="${searchParam}" />"/> <select name="searchWhich"> <option value="title" <c:if test="${searchWhich == 'title'}">selected</c:if> />标题 <option value="content" <c:if test="${searchWhich == 'content'}">selected</c:if> />内容 </select> <input type="submit" value="搜索" style="height:23px"/> </form>?