function exportStu(){
var count=0;
count=document.getElementById("stuCount").value;
if(count>0){
document.location.href="<%=basePath%>studentManagerAction!exportExcel.action";
}else{
alert("没有要导出的数据");
return;
}
}
....
...
错误类型:Cannot convert count+1 of type class java.lang.String to class java.lang.Long
网各位朋友给看看