You could employ a naming convention for your form parameters such that if you have a 
form named "myForm" and a field named "userName", you could change the field name (ion 
this example) to "myForm.userName", then call request.getParameterNames() and in your 
form loop, filter for names beginning with your form name. You could also make the 
form name a property in a property file so that it is not hardcoded in your JSP 
source. Just a thought.

Todd

>>> [EMAIL PROTECTED] 7/31/00 5:29 >>>
I have tried all that.

But the problem is that I have to get (ALL) the form parameters only and
store it. If I do request.getParameterNames and then try to loop through
it, it gives me stuff like query-strings, HTTP headers like Host ,
gx_session_id etc.

I need something like request.getParameterNames("formname")

Any pointers here would be greatly appreciated.

Thanks
Sandipan.

subramanian Athimoolam wrote:
>
> hi
>
>     just use
>
>          String s=request.getParameter("")
>
> what ever parameter you want just get this way.
>
> or other wise pass hidden variales.
>
> subu
> ________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
>
> ===========================================================================
> 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

===========================================================================
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