RE: Order of parameters

2003-10-08 Thread Martin van Dijken
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

RE: Order of parameters

2003-10-08 Thread Chad Johnson
: 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

RE: Order of parameters

2003-10-08 Thread Julian Löffelhardt
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

RE: Order of parameters

2003-10-08 Thread Dirk-Willem van Gulik
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 --

Re: Order of parameters

2003-10-08 Thread Tim Funk
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

RE: Order of parameters

2003-10-08 Thread Chad Johnson
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

RE: Order of parameters

2003-10-08 Thread Martin van Dijken
> 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

RE: Order of parameters

2003-10-08 Thread George Sexton
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

RE: Order of parameters

2003-10-08 Thread Martin van Dijken
> 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

Re: Order of parameters

2003-10-08 Thread Dirk-Willem van Gulik
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

Order of parameters

2003-10-08 Thread Martin van Dijken
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