找不到requets.getSession()急,找不到 session (在线等)
Exception:
java.lang.NoSuchMethodError: javax.servlet.http.HttpServletRequest: method getSession()Ljavax/servlet/http/HttpSession; not found
报这个错,就是这句:
String empid = (String) httpServletRequest.getSession().getAttribute("userid");报的错,
不知道是怎么回事,项目中加了servlet_api.jar这个包了,怎么回事,如果解决我再加分...