This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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: 8904

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to get parameters in order(Urgent)
 
Similar Threads
New Article: Scriptless JSP Pages: The Front Man
Ensure correct sequence of printing of request parameters ?
How to retrieve data from table
request.getParameters order
getInitParameterNames();