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