• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

plz clear my doubt...

 
Jack Daniel
Ranch Hand
Posts: 163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, in my case I have my JSP with variable # of Input Fields..
So, when I was using ..

I am noticing that the field elements are retrieved in REVERSE order...
(bottom-to-top)
Will that be the case ALWAYS?? or there is a possibility that sometimes..
it will be from top-to-bottom..
Your help will be Greatly Appreciated..
Thanks
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't believe there is any specified order in which the parameters will be retrieved by using the enumumerator. The API does not specify an order as far as I see, it's an implementation detail.
I'm moving this to the Servlets forum because it's an javax.servlet.ServletRequest issue.
-Barry
[ August 16, 2003: Message edited by: Barry Gaunt ]
 
Jack Daniel
Ranch Hand
Posts: 163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey, what do you guys/gals say about this...
Anybody has a clue..??
Thanks
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64959
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anybody has a clue..??

Yes, Barry does. He's already answered your question.
bear
 
Jack Daniel
Ranch Hand
Posts: 163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Anyway guys...
 
Ron Newman
Ranch Hand
Posts: 1056
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The order of request parameters to a web application is something you should NEVER depend on. Browsers and servers can and do arbitrarily change that order.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic