NumberFormatException « JSTL « JSP-Servlet Q&A

1. java.lang.NumberFormatException: null

Hi, the problem i thing is in the friendsmem variable.. but as you can see, i can get the friendsmem value and display it in the friends.jsp. I can even plus one to the friendsmem value, and it adds up correctly. It give me the error after i click the button Update, as it inserts the value into the database. search.jsp ...

2. JSP factorial of number and NumberFormatException

The HTML that follows B displays a form prompting the user to enter a name and an integer. On clicking on the Submit button, Factorial.jsp is called. Compute Factorial

Enter Name
Enter Integer