页面内获取不到值的问题
简述下问题:我有个jsp页面,有个表单需要上传文件和传递参数。页面最下方有分页。
现在的问题是 不点分页的情况下 跳转包括获取参数一切正常 说明后台action没问题 但一分页后就获取不到参数了
表单我给大家帖出来 麻烦大家了 急!
<form name="answerForm" method="post" action="exslistform.html" enctype="multipart/form-data">
<font color="gray">点击回答内容可以重新编辑</font>
<div id="tabarea">
<table class="tabstyle2" width="100%" border="0" cellspacing="0" cellpadding="2">
<input type="hidden" name="id" value="${courseWareAnswer.id }"/>
<input type="hidden" value="no" id="useFCK"/>
<input type="hidden" name="questionType" value="${questionType }"/>
<c:forEach items="${continueAnswers}" var="continueAnswer">
<tr class="tablehead">
<td colspan="2">
<div class="qtitle">
<STRONG>提问主题</STRONG>:${continueAnswer.title }
</div>
</td>
</tr>
<tr>
<td width="20%" valign="top" >
<div class="qtime">学员:${continueAnswer.user.username }
<hr size="1" color="#cccccc" width="80%" />
提问时间:<fmt:formatDate value="${continueAnswer.createTime}" type="both"/>
</div></td>
<td>
<div id="studentword" class="answercontent">
<div>【提问内容】</div>
${continueAnswer.content }
</div>
</td>
</tr>
<c:set var="isQasAdmin" value="${false}" />
<c:forEach items="${currentUser.roles}" var="role">
<c:if test="${role.authority == 'ROLE_QASADMIN' || role.authority == 'ROLE_QUESTIONADMIN'}">
<c:set var="isQasAdmin" value="${true}" />
</c:if>
</c:forEach>
<tr>
<td width="20%" valign="top" >
<div class="qtime">老师:${continueAnswer.teacher.username }
<hr size="1" color="#cccccc" width="80%" />
回答时间:<fmt:formatDate value="${continueAnswer.answerTime}" type="both"/>
<td width=600>
<div id="teacherword" style="width:680px">
<div <c:if test="${empty continueAnswer.answer || continueAnswer.teacher.username==currentUser.username || isQasAdmin}">onclick="window.location='${ctx }/teacher/toexsanswer.html?mid=${courseWareAnswer.id }&id=${continueAnswer.id }&type=${courseWareAnswer.questionType}&questionType=${questionType }'" style="cursor:hand;" title="点击内容可以重新编辑" </c:if>>【答疑老师解答】
<c:if test="${not empty continueAnswer.answer}">
<c:out value="${continueAnswer.answer}" escapeXml="false"/>
</c:if>
<c:if test="${empty continueAnswer.answer}">
<font color="red">快速回答</font>
</c:if>
<c:if test="${not empty continueAnswer.satisfaction}">
<fieldset><legend><font color="red">学员评价</font></legend>
<c:set value="${continueAnswer.satisfaction }" var="satisfy" scope="request"/>
<%=SatisfyConstant.getLabelByValue((Integer)request.getAttribute("satisfy")) %>
<c:if test="${not empty continueAnswer.info}">
:<br/> ${continueAnswer.info }
<br/>
</c:if>
</fieldset>
</c:if>
</div>
</td>
</tr>
</c:forEach>
</table>
<p align="right">${footer }</p>
</div>
</form>
<c:if test="${empty continueAnswer.answer || continueAnswer.teacher.username==currentUser.username || isQasAdmin}">onclick="window.location='${ctx }/teacher/toexsanswer.html?mid=${courseWareAnswer.id }&id=${continueAnswer.id }&type=${courseWareAnswer.questionType}&questionType=${questionType }'" style="cursor:hand;" title="点击内容可以重新编辑" </c:if>
就是这段的type和questionType获取不到 另外两个可以 不分页全都可以正常获取 一分页只有后两个获取不到!