-3
I’m getting the following error: java.lang.NumberformatException: null;
My code:
<%! int a; %>
<%! int b; %>
<%
String getTest = request.getParameter("testJava");
System.out.println(getTest);
%>
<% int b = Integer.parseInt(request.getParameter("testJava")); %>
<%
for(int a = 0; a <= b; a++){
System.out.println(getTest);
}
%>