struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Robertson <>
Subject RE: order of set/get methods called in a form-bean?
Date Fri, 15 Feb 2002 17:37:05 GMT
> -----Original Message-----
> From: []
> What is the order in which the set/get methods of a form-bean 
> are called? I
> am expecting, its the order in which my form-elements occur 
> in the HTML
> code?

The Servlet spec does not dictate that request.getParameterNames() should
return the parameters in any particular order, which would be neccessary in
order for your assumption to hold.

In many (most?) implementations of the Servlet API, the request parameters
are at some point stored in a Hashtable or HashMap, which loses the original

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message