This week's giveaway is in the Java/Jakarta EE forum. We're giving away four copies of Java EE 8 High Performance and have Romain Manni-Bucau on-line! See My job is revamping code from about 7 years ago, and we are in the process of taking scriptlets out of the jsps. The jsp that accompanies this servlet is scriptlet free, and now I am having trouble with this servlet. Before I took the scriptlets out, this portion of the program worked... But because we have upgraded WAS, the scriptlets must go and now this portion fails.
Could someone explain to me how this is happening? Before I took out the scriptlets, there was a value for request.getParameter("string" + int), but after the scriptlets are gone, no value for request.getParameter("string" + int). The same information is being entered on the screen as it was before.
Since earlier he has scriplet in page which might be doing some processing so he was able to get the param value.
num = num+1;
request.getParameter(String + num);
now since he has removed the scriptlet so he is trying to find different param value which doesn't exist.