There is a simple way...
don't call request.getParameter
otherwise the post-stream will be read.
and read it by youself (request.getInputStream or something like that..
and parse the string yourself)
Krzysztof Zielinski wrote:
Hello Filip,
Tuesday, March 27, 2001, 7:24:27 PM, you wrote:
FH
Hello.
I'm trying to get all parameters from request in right order.
Right order means that I need parameters in order as they were in HTML
Form.
I can get all parameters by the help request.getParameterNames() but
it returns them as hash table keys. So we lost their original order.
I have
Hello Anthony,
Tuesday, March 27, 2001, 6:59:54 PM, you wrote:
A Web browsers are not required to return the form values in the order they
A are in in the form.
A You should therefore not expect the results to be returned in any
A particular order.
A Bap.
I have read on the W3.org page
: Tuesday, March 27, 2001 9:21 AM
To: Anthony
Subject: Re[2]: How to get request prameters in right order.
Hello Anthony,
Tuesday, March 27, 2001, 6:59:54 PM, you wrote:
A Web browsers are not required to return the form values in the
order they
A are in in the form.
A You should
Hello Filip,
Tuesday, March 27, 2001, 7:24:27 PM, you wrote:
FH public java.lang.String getQueryString()
FH in HTTPServletRequest and you can parse them yourself
I'm afraid that parameters passed by the help method="post" in HTML
Form aren't available by getQueryString().
I can't use
Hanik
Software Architect
[EMAIL PROTECTED]
www.filip.net
-Original Message-
From: Krzysztof Zielinski [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 27, 2001 9:56 AM
To: Filip Hanik
Subject: Re[4]: How to get request prameters in right order.
Hello Filip,
Tuesday, March 27, 2001
I can get all parameters by the help
request.getParameterNames() but
it returns them as hash table keys. So we lost their original
order.
Actually, request.getParameterNames() returns an Enumeration,
instead of a Hash table. So you should be able to run through
this Enumeration with
]
Subject: Re: How to get request prameters in right order.
I can get all parameters by the help
request.getParameterNames() but
it returns them as hash table keys. So we lost their original
order.
Actually, request.getParameterNames() returns an Enumeration,
instead of a Hash table
But actually I am curious why it really needs to be in sequence.
You can actually do quite a lot by just using the names. So
maybe if I know what needs to be done, I can give a better
alternative solution.
Frans
In short, there's no real way to get the order of the
parameters other
than
the order of
the parameters.
-Original Message-
From: Frans Verhoef [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 27, 2001 5:27 PM
To: [EMAIL PROTECTED]
Subject: Re: How to get request prameters in right order.
I can get all parameters by the help
- Original Message -
From: "Krzysztof Zielinski" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, March 27, 2001 7:54 AM
Subject: How to get request prameters in right order.
I'm trying to get all parameters from request in right order.
Right order means t
11 matches
Mail list logo