I see nothing in the specification that specifies the order of the elements
returned in the enumeration.

Why do you think this is a bug?


George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
  

> -----Original Message-----
> From: Jeff Grangier [mailto:[EMAIL PROTECTED] 
> Sent: Friday, August 12, 2005 11:22 AM
> To: [email protected]
> Subject: Tomcat and the HttpServletRequest Object
> 
>  
> 
> Hello,
> 
>  
> 
> I have migrated my application from iPlanet to Tomcat 5.5 
> (latest build as
> of today) and getting weird results with the 
> HttpServletRequest object:
> 
>  
> 
> Each Element out the getParameterNames enumeration used to be 
> ordered based
> on the html form layout posting the data (using iPLanet). 
> But, after the
> migration the fields are coming in random order when I try to 
> loop through
> the fields dynamically. . .
> 
>  
> 
> Here is a snapshot of the code: 
> 
>  
> 
> Enumeration paramNames = req.getParameterNames();
> 
>  
> 
> while(paramNames.hasMoreElements()) 
> 
>             {
> 
>                 paramName = (String)paramNames.nextElement();
> 
>                                                 .
> 
>                                                 .
> 
>                                                 .
> 
>  
> 
> Has anyone encountered this issue before? Is there a work around?
> 
>  
> 
> Thank you in advance for your help,
> 
> Jeff
> 
>  
> 
>  
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to