“Uncaught RangeError: Maximum call stack size exceeded ”这个错误,这个错误一般是代码书写不正确引起的,最终经过检查发现了js的函数名使用关键字,修改即好
<form action="${pageContext.request.contextPath}/AjaxServlet" enctype="application/x-www-form-urlencoded">
用户名:<input type="text" name="username" id="uuu" onchange=