Less than 42 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

getParameterNames() of the HttpServletRequest  RSS feed

 
Alok Pota
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Doesn't the servlet spec require that getParameterNames() return an enumeration that reflects the order of the parameters on the page that was submitted?

The app server that I am using is not returning the parameter names in the order in which they are defined in the page. Not sure if this is a vendor bug.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The order is not defined. For that to work, the browser would need to submit them in order, and that is also not defined.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!