struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Robertson <Jeff.Robert...@magnetbanking.com>
Subject RE: order of set/get methods called in a form-bean?
Date Fri, 15 Feb 2002 17:37:05 GMT
> -----Original Message-----
> From: sgouris@sears.com [mailto:sgouris@sears.com]
> 
> 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
order.

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message