File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes plz clear my doubt... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "plz clear my doubt..." Watch "plz clear my doubt..." New topic
Author

plz clear my doubt...

Jack Daniel
Ranch Hand

Joined: Jun 15, 2002
Posts: 163
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

Joined: Aug 03, 2002
Posts: 7729
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 ]

Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
Jack Daniel
Ranch Hand

Joined: Jun 15, 2002
Posts: 163
Hey, what do you guys/gals say about this...
Anybody has a clue..??
Thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61095
    
  66

Anybody has a clue..??

Yes, Barry does. He's already answered your question.
bear


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Jack Daniel
Ranch Hand

Joined: Jun 15, 2002
Posts: 163
Thanks Anyway guys...
Ron Newman
Ranch Hand

Joined: Jun 06, 2002
Posts: 1056
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.


Ron Newman - SCJP 1.2 (100%, 7 August 2002)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: plz clear my doubt...