how to get integer value at run time in j2ee using servlets
You can get the value from request parameter and then convert using the function Integer.parseInt(variable).
Here is the example code:
String s =request.getParameter("myvariable"); Integer i = Integer.parseInt(s);
Regards Deepak Kumar
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.