标签:style blog color io java div sp log on
返回发现原来的在页面并刷新:
servlet 中:
out.print("<Script>alert(‘Add Success!‘);history.back();location.reload();</Script>‘" );
out.print("<script language=javascript>alert(‘Add Success!‘)</script>") ;
out.print("<script language=javascript> history.back() </script> ") ;
标签:style blog color io java div sp log on
原文地址:http://www.cnblogs.com/thrive/p/3971085.html