Anyone can tell me how can i get the value of dynamic textbox on jsp page.
If i'll use
here as text box will be generated dynamically i can't assign name of the text box .
Pleeeeeeeeeeeeeeeeeeeeeeez help !!!
I am not going to read that! And it is clear that you don't know how to write proper HTML as well. Try to learn first HTML and post some code that can read. Use the button (code) when creating a new post.
i understand your code.. actually i'm new to web development and this is the most idiotic method of writing the front end code..i experienced a similar problem as what ever data i will send to the dynamically created boxes will be replaced to "null" at the end of try block. basically assigned with values and then flushed... logically it's a good code but.. fuctionally it isn't. most of the programmers use dynamic creation of rows in almost all examples in a seperate fuction in <script>..</script> THE ERROR IN YOUR CODE CAN BE RESOLVED BY CLOSING <input> tag with </input>.. MOST OF THEM IGNORE CLOSING IT AS IT SERVES THE FUNCTIONALITY.. BUT WHEN IT IS CONSERNED WITH DATA SENDING TO A SERVLET;WE MUST CLOSE IT ELSE IT WOULD SEND NULL VALUES.. this is an old post.. yet i want to give a reply because many are out there who think differently like this..