| Author |
how to show Parameter names in an order?
|
Sandhya Deekonda
Ranch Hand
Joined: Dec 18, 2006
Posts: 34
|
|
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.
|
 |
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12324
|
|
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
|
Java Resources at www.wbrogden.com
|
 |
 |
|
|
subject: how to show Parameter names in an order?
|
|
|