Originally posted by Rauhl Roy:
Using String array I can print the selected values in different pages.
But after putting into string array how can we retrive them as we put them into it.
If the values are of a fixed length, you can use the String class's
substring method to separate the values from a single string into multiple strings. If the values are not of a fixed length, you could put some sort of separator character between each value. Then when it's time to display the values separately, use the separator character to tell where one value ends and the other begins.
Originally posted by Rauhl Roy:
And if we want add the data in the back end for the selectd values, then it would become very difficult to solve it.
I'm not suggesting you add any data in the back end. I'm simply suggesting that you retrieve the data that's already there in the back end again, rather than trying to pass it through a composite string.
While parsing through this composite string will work, it seems really awkward and "kludgy" to me, and I wouldn't call it very good Object Oriented design.