Hi All, I'm writing a web application which consists of two jsp files.In one jsp i have some text field and in the other i want to get those values for that i'm using enumerator,but the order in which i get values is different.I want the order in which i entered.how can i do that?? Can anyone help me out?? Thanks, Sandhya.
Author and all-around good cowpoke
posted 9 years ago
You will have to provide for ordering the parameters with your own code. The parameters in a request are stored in a Map so you have no control over the order an enumeration retrieves. If the names of the fields are fixed, why not have a String in the order desired and use those field names to recover the parameter values. Bill