Im using the above code in JSP..
I have a method populate() which sets the value in the form..
The content which i am setting in the action, is being displayed on the screen..
But when i submit the jsp, the list "primaryList" is becoming empty....
Please help
Please note the disabled = "true" property in several cases(IE 6+) will restrict the data of the select box to get submitted. Instead you may want to choose readonly="true". The list will be then pouplated as expected.
Java Pal - Your friend in technology and innovation...India.
Sorry about that...I misread the unformatted code in a hurry. With the better formatting now, it looks more readable. I was referring only to the primDetails, division property in the "select" when I wrote that last comment, about disabled.
Java Pal - Your friend in technology and innovation...India.
I tried changing the scope in struts config to 'Session'..
Now the list values are coming while submitting..
But if i modify some thing on screen, say a text field which is inside that list, after submitting i am getting old value only..
Did you just should on me? You should read this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss