This would happen only if u have 2 input fields in ur
form which have the same name attribute, which in this
case is  f1d34. Are u sure that by mistake another one
of ur text fields does not have the same name f1d34.


--- Foudili Kacem <[EMAIL PROTECTED]> wrote:
> Hi all,
>   Sorry if this topic was discussed before. It will
> be great if somebody
>   can help me.
>
>   I have a form with something like 60 textField and
> one button:
>   <FORM NAME="myform"
> ACTION=http://localhost/servlet/updater METHOD=POST>
>
>   <INPUT type=text size=12 maxlength=10 name="fld0"
> value="1.0000">
>   ...
>   <INPUT type=text size=12 maxlength=10 name="fld34"
> value="1.00">
>   ....
>   <INPUT TYPE=SUBMIT NAME=update VALUE="Update">
>   </FORM>
>
>
>   I want to save the new (double) values entered in
> the text fields.
>   My questions are :
>
>   1- Is there any limitation in the number of
> parameters in a form ?
>   2- I had a strange behaviour using the
> getParameter method :
>
>   1.00 is the default value. I enter 24 as new
> value.
>   when I call getParameter("fld34") it returns 1.00
> , 24 !!! ( so my
>   method to convert it to a double value doesn't
> work )
>
>   And when I use getParameterValues("fld34") it
> return an array of two
>   elements 1.00 and 24 !!
>   All I want is to get new entered value ...
>   Is there a clean way to do it ??
>
>   Thanks a lot.
>
________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at
> http://www.hotmail.com
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED]
> and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives:
>
http://archives.java.sun.com/archives/servlet-interest.html
> Resources:
>
http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help:
http://www.lsoft.com/manuals/user/user.html


__________________________________________________
Do You Yahoo!?
Yahoo! Mail � Free email you can access from anywhere!
http://mail.yahoo.com/

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to