java - servlet在tomcat运行时报错
PHP中文网
PHP中文网 2017-04-18 09:48:35
0
2
385


servlet在tomcat运行时报错,错误及代码如图,新手求高手指点!不胜感激!

PHP中文网
PHP中文网

认证高级PHP讲师

reply all(2)
Peter_Zhu

The author should learn to debug by interrupting by himself.

username 客户端有传这个值吗?这个是我猜的。
楼主看一下 LogLet 22行的代码吧,有一个变量是 null.

巴扎黑

1. Check whether the Servlet configuration in web.xml is correct;
2. Check whether the parameter name in the request URL is username;

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!