I am facing a strange problem in my application.
In the JSP Scriplet tag you could see that I am dynamically
creating a few html text input with the help of a for-loop
When using it display the correct data on the page(As no html elements is being used). But when I want to display the value in .. It displays the data from the bottom 5 struts html properties and not the correct value from the List,i.e, value of
Can someone please help me out and explain why these things are happening in my application?
Ankit Garg wrote:
So this line of code results in text fields which have a different value for the id and value attribute?? I can't see any situation in which this can happen. This seems impossible to me...
Its not like that as you thought.
I mean to say both the id and value will have the same data value. But the problem is not there but why the value of
display value of
And will you succeed? Yes you will indeed! (98 and 3/4 % guaranteed) - Seuss. tiny ad: