比如在页面上可以这么写:
<a href="javascript:xxx()">下一页</a>
//设置延时函数
function sleep(numberMillis) {
var now = new Date()
var exitTime = now.getTime() + numberMillis
while (true) {
now = new Date()
if (now.getTime() >exitTime)
return
}
然后调用sleep(1000)xxx()
<a href="second.jsp?&a="xx"&b=""">second.jsp:
String a=request.getParameter("a")
String a=request.getParameter("b")
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)