Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Order of parameters with Tomcat

 
Frank Daly
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I am transferring my servlets from the Acme web Server to Tomcat. Using Acme, I can assume the parameters will be processed by my servlet in the order they appear on the address bar. This is not the case with Tomcat.
Is there any way I can force my servlets under Tomcat to accept the parameters in the order they appear on the address bar?
Thanks in advance
frank
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13062
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, thats just the way Tomcat handles request parameters - I think it is a Hashtable.
However, if you know the names in advance you can retrieve them by name in any order you want.
Bill

------------------
author of:
 
Matthew Phillips
Ranch Hand
Posts: 2676
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This really belongs in the new Tomcat forum. I will move it there for you.
Matthew Phillips
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic