保留下拉框

<select name="status">
    <option value="all" <c:if test="${status eq 'all'}">selected</c:if>>状态</option>
    <option value="notstart" <c:if test="${status == 'notstart'}">selected</c:if>>未开始</option>
    <option value="running" <c:if test="${status eq 'running'}">selected</c:if>>进行中</option>
    <option value="end" <c:if test="${status eq 'end'}">selected</c:if>>已结束</option>
   </select>


保留文本框输入值

特价活动名称:<input type="text" name="sname" value="${sname}"/> &nbsp;&nbsp;&nbsp;