jsp代码
<a href="#" id="download">Download File</a>
<script>
$("#download").click(function() {
window.location.href = "<%=renderResponse.encodeURL(renderRequest.getContextPath())%>/vpn/generateExcel.action";
});
jsp代码
<a href="#" id="download">Download File</a>
<script>
$("#download").click(function() {
window.location.href = "<%=renderResponse.encodeURL(renderRequest.getContextPath())%>/vpn/generateExcel.action";
});