The servlet spec doesn't promise to save the order of parameters as it doesn't make much sense. The browsers don't do either.
So, even if the spec would garantee that you can get the parameters from the request in the same order than the browser seent them, you wouldn't win anything, as the browser is free to send the parameters in any order he likes. The only way to achieve this is to make your servlet aware of the order of the parameters in advance. > -----Urspr�ngliche Nachricht----- > Von: Bob Byron [mailto:[EMAIL PROTECTED]] > Gesendet: Montag, 17. Dezember 2001 15:51 > An: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Betreff: Re: Ordering of parameters in HTTPRequest Object > > > Sean, > > Did you find a solution to the parameter ordering issue of a form? I > am interested in receiving the parameters in order. I want to make > a generic servlet that emails forms to me and maintains the order > of the fields on the form. Nothing is "dependent", but aesthetically > it works out better if I just use the order from the form. It seems > a shame that the servlet API discards the data. (At least that is > what I gathered from the previous thread.) > > Thank You, > Bob Byron > -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
