Eddie Cross wrote:Once it gets displayed in the textbox, will be able to fetch the number using getParameter() method in the Servlet?
I didn't look at the code; there is too much posted without any explanation of where problems lie. But to the above question, yes, if a text control is in a form, and the form is submitted to a servlet, the value can be obtained via getParameter regardless of how the value got into the control in the first place.
(The only exception is when the form is multi-part with a file upload, but I don't think that's the case here.)