Hi!!!!
u should use request.getParameter("name of the form fields") insteaed of
getparameterNames to retrieve the values from the request header. which is
passed to this page when ur form is submitted.y pass the values to the bean
method. No need to assign the values to some variables and then pass those
variables in the bean method.
If u don't want the value of your button to be passed then remove the name
opion from the <Input ........> tag of the button option.
Yes u can store the values in an array provided the values being passed are
of same type. Well your last question is not very clear.




Tushar Kuwad <[EMAIL PROTECTED]> on 06/09/2000 04:49:08 PM

Please respond to A mailing list about Java Server Pages specification and
      reference <[EMAIL PROTECTED]>

To:   [EMAIL PROTECTED]
cc:    (bcc: Kher Tamanna-SWD-ITIL-UB/Itilmail)

Subject:  (no subject)




Hi,
    I am using the getparameterNames( ) to get the field names from the
HTML page.
I would like to use these field names as input to my bean which is used
to insert
records in the database table.
1)    I am using getparameterNames( ) to get all the parameters from the
html forms.
But this also shows me the submit button's name as one of the
parameters.
I want to avoid this.
2)Also the order in which the parameters are displayed is random.
Can I have it in a specific order?.
3) Is there a way to store the values retrieved from getparameterNames(
) into
an array.

Regards,

Tushar

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to