标签: java tomcat exception
成功登录后报告错误
实际的源代码
答案 0 :(得分:0)
Quoting the documentation
java.lang.String getParameter(java.lang.String名称) Returns the value of a request parameter as a String, or null if the parameter does not exist
java.lang.String getParameter(java.lang.String名称)
Returns the value of a request parameter as a String, or null if the parameter does not exist
据我所知,您没有将参数传递给页面,因此getParameter返回null,并且您尝试访问它而没有实际对其进行检查。
getParameter
null