This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Servlets and the fly likes How to get parameters in order(Urgent) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "How to get parameters in order(Urgent)" Watch "How to get parameters in order(Urgent)" New topic
Author

How to get parameters in order(Urgent)

Ravi Kumar Ravuru
Ranch Hand

Joined: Apr 18, 2002
Posts: 176
Hello Friends,
How to get the parameters from the getParameterNames in the order which is in previous page.Please help me out.
Thanks in Advance.
Ravi
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

U EITHER SAVE THE PREVIOUS PAGE VALUES IN CURRENT PAGE FORM AND PASS IT AGAIN TO THE SERVER OR STORE PREVIOUS PAGE VALUES IN THE SESSION OBJECT.


Groovy
Engin Okucu
Ranch Hand

Joined: Feb 09, 2002
Posts: 174
Hi Ravi,
I had the same problem. I couldn't have in ordre my parameters. see here in order to get your parameters by order.http://www.coderanch.com/t/355229/Servlets/java/Enumerationin]http://www.coderanch.com/t/355229/Servlets/java/Enumeration]http://www.coderanch.com/t/355229/Servlets/java/Enumeration[/URL]in[/url] order to get your parameters by order.
Assing a number to your parameter's names like on this page.
Engin Okucu
Ranch Hand

Joined: Feb 09, 2002
Posts: 174
sorry...http://www.coderanch.com/t/355229/Servlets/java/Enumeration
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: How to get parameters in order(Urgent)