Current location - Quotes Website - Personality signature - Serious: servlet.service () for servlet JSP Three Exception, find the answer, find the reason! ! ! Online, etc
Serious: servlet.service () for servlet JSP Three Exception, find the answer, find the reason! ! ! Online, etc
Error is that the null pointer in line 15 is abnormal, so find "."in line 15, indicating that the signature object is empty.

It indicates that the list variable did not get the expected value.

Or the parameters specified in getAttribute("newss ") do not match those specified in setAttribute("xx"); Or newss is a key submitted through a form, you should use the getParameter("newss ") method to get the value entered in the form.

If you want to improve the robustness of the program, you should add a judgment statement if (list! =null), the program will not throw any more exceptions, and it can if(list == null){ go to the error page or display an error message}.