添加学生那个在页面上不能添加 ,自己写了一个添加的方法,为什么总是报空指针异常?
ERROR org.apache.struts2.dispatcher.DefaultDispatcherErrorHandler - Exception occurred during processing request: null
java.lang.NullPointerException
at service.impl.StudentsDAOImpl.addStudents(StudentsDAOImpl.java:64) ~[StudentsDAOImpl.class:?]
at action.StudentsAction.add(StudentsAction.java:51) ~[StudentsAction.class:?]