An other way to pass these value to the bean is to use the setParameter tag :
<jsp:setParameter name="myBean" property="beanPropertyName" param="fieldName"/>
and in the setBeanPropertyName() method of your bean you can do what you need...
Tushar Kuwad a �crit :
> 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