在本地tomcat服务器中运行jsp页面时收到内部服务器错误

时间:2018-09-24 04:03:01

标签: java tomcat exception

error 成功登录后报告错误

Source code 实际的源代码

1 个答案:

答案 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

据我所知,您没有将参数传递给页面,因此getParameter返回null,并且您尝试访问它而没有实际对其进行检查。