String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
My JSP 'MyJsp.jsp' starting page111 | 222 | 333 | |||
444 | 555 | 666 |
$(function() {
var d = new Date();
var date = d.getFullYear() + "年" +(d.getMonth() + 1) + "月" + d.getDate() + "日";
$("#btn").click(function(){
$(".table2excel").table2excel({
exclude: ".noExl",
name: "Excel Document Name",
filename: date,
exclude_img: true,
exclude_links: true,
exclude_inputs: true
});
});
});