下面是jsp程序片段:
<s:form id="startForm" name ="startForm" action="/hall/hall_search.do" method="post">
<table width="100%" border="0" cellpadding="0" cellspacing="5" class="tab1">
<tr>
<td width="70" class="main-td1"><s:text name="room.lable.name"/></td>
<td width="180" class="main-td1"><s:textfield name="room.name" var="drn" class="wenbenkuang" /></td>
<td width="70" class="main-td1"><a href="${contextPath}/hall/hall_search.do?room.name=${room.name}" class="anniu-cx"><s:text name="common.lable.search"/></a></td>
</tr>
</table>
</s:form>
文本框中输入了内容,为什么单击search按钮时,s:textfield中的文本内容没有赋值给Action中的room.name?跟踪检查时发现room.name为空字符串