小问题

var scuser=$(".right .col-md-6").html();点后面不能加空格
序列不需要接受
//String cid=request.getParameter("scid");
        //int scid = Integer.parseInt(cid);

response.getWriter().append("true");
接收到数据后往前台回复。。

2.png
pas=con.prepareStatement(sql);
            pas.setString(1, scuser);
语句这两句写反了
在mapper。xml中写的sql语句    <select id="selectStudent" resultType="Student">
        select * from student
    </select>
    resultType返回类型要写,返回的是整个student实体类

原文地址:https://www.cnblogs.com/NCL--/p/7577051.html