• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Order of parameters with Tomcat

 
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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:
 
Ranch Hand
Posts: 2676
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This really belongs in the new Tomcat forum. I will move it there for you.
Matthew Phillips
 
reply
    Bookmark Topic Watch Topic
  • New Topic