您的位置: 首页 > IT文章 > js传参 js传参 分类: IT文章 • 2025-01-28 14:06:55 var url="${pageContext.request.contextPath}/AdminServlet?method=login&username="+username+'&password='+password; window.location.href="b.html"; <img src="${pageContext.request.contextPath}/checkCode" /></a>