Hi!,
I don't know whether this would help! but you could try initializing the
text boxes to some value which doesn't show up...say like
VALUE=" " or value=nbsp;
Senthil kumaran.
-----Original Message-----
From: Oliver Pereira <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, October 12, 1999 4:13 AM
Subject: Help !!!!!!!!!!!!!!!
>Hi,
> I am facing a problems with
>HttpServletRequest.getParameterVales(String) method.
> I have 3 text fields in the html form having same name 'txt',
>when i post this form i get a collection of 'txt'.
>
> String[] res = HttpServletRequest.getParameterVales("txt");
> Problem with this is res contains only those elements for which
>i have entered any values.
> e.g if i have entered values in only two text fields res
>contains only two elements where as the behaviour is different in asp
> or JRUN's jsp in which i always get all the elements. the values
>for which i have not entered any data are null in the array.
>
> Now i m porting my JRUN jsp's to NAS4.0.
> How can i avoid this problem.....? i always want all the
>elements from the form.
>
>Regards
>
>Oliver
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
>FAQs on JSP can be found at:
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html