我正在使用提交按钮导航到表单内的其他页面
<form action = "dummy.jsp" method="POST">
<label for="disabledInput" class="control-label">Item Id</label>
<input type="text" value=<%=downloadHelper.getFileName()%> name = "fileSelect" id = "fileSelect"/>
<input type="hidden" name = "storeSelect" value = <%=downloadHelper.getStoreName()%> /> </br></br>
<button type="submit" class="btn btn-success" name="Download" value="Download">Download</button>
<a href="/index.jsp" class="btn btn-danger">Cancel</a>
</form>
如何检查Download
当前页面中是否单击按钮的天气。我可以从dummy.jsp
片段中检查它:
if(request.getParameter("Download") != null)