The best idea so far! Another time when the HttpServletRequestWrapper is gonna help
out.
Martin
> -Original Message-
> From: Chad Johnson [mailto:[EMAIL PROTECTED]
> Sent: woensdag 8 oktober 2003 16:43
> To: Tomcat Developers List
> Subject: RE: Order of parameters
&g
: Wednesday, October 08, 2003 9:33 AM
To: Tomcat Developers List
Subject: RE: Order of parameters
On Wed, 8 Oct 2003, Chad Johnson wrote:
> A solution that could work:
> Directly get the query string with "request.getQueryString()" parse
> the results yourself and store the r
ch, 08. Oktober 2003 16:13
> To: Tomcat Developers List
> Subject: RE: Order of parameters
>
>
> > The solution is to pass a fields list as an additional
> > paramter, and use
> > that field list to drive the ordering of your form.
>
> That is of course possi
On Wed, 8 Oct 2003, Chad Johnson wrote:
> A solution that could work:
> Directly get the query string with "request.getQueryString()" parse
> the results yourself and store the results in the order found.
Come on - you folks are java guys - wrap something around it :-0
Dw
--
The problem lies in the servlet spec. It does not dictate that
request.getParameterNames() returns the parameter list in any specific order.
A feature request to the spec working group is your best bet. If your using
GET - you always have access to the query string and a "simple regex" can
retu
the order found.
Chad Johnson
-Original Message-
From: Martin van Dijken [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2003 4:46 AM
To: Tomcat Developers (E-mail)
Subject: Order of parameters
I've been trying to create an automated form handler. This form handler
coul
> The solution is to pass a fields list as an additional
> paramter, and use
> that field list to drive the ordering of your form.
That is of course possible, but requires more code in the form, which is in my opinion
totally unnecessary. ASP, and I think PHP as well, have this as one of their m
The solution is to pass a fields list as an additional paramter, and use
that field list to drive the ordering of your form.
-Original Message-
From: Martin van Dijken [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2003 4:16 AM
To: Tomcat Developers List
Subject: RE: Order of
> MOST browsers; certainly not all.
100% true
> If you are requiring order it may makes the most sense to NOT
> trust the wire - but do the ordering yourself on entry as described.
Well, the reason I'm proposing this is I'm modifying a form handler which simply mails
all fields encountered to
On Wed, 8 Oct 2003, Martin van Dijken wrote:
> I've been trying to create an automated form handler. This form handler
> could be a lot more effective if the request parameters were in the
> order they were put on the form. Now most browsers send this information
MOST browsers; certainly not al
I've been trying to create an automated form handler. This form handler could be a lot
more effective if the request parameters were in the order they were put on the form.
Now most browsers send this information over HTTP in the order they were found in the
form. However, because the parameters
11 matches
Mail list logo