well this code does almost the same thing
<%
Enumeration enum = request.getParameterNames();
while(enum.hasMoreElements())
{
String pName = enum.nextElement();
String[] values = request.getParameterValues(pName);
for(int val=0;val<values.length;val++)
{
doSomeProcessing();
}
}
%>
>From: "Joe Ryan" <ryan_joe@h...>
>Reply-To: "Pro_JavaServer_Pages" <pro_jsp@p...>
>To: "Pro_JavaServer_Pages" <pro_jsp@p...>
>Subject: [pro_jsp] how to iterate through request object?
>Date: Thu, 19 Oct 2000 11:43:22 GMT
>
>One thing is not clear to me with JSP, and I cannot find an answer in the
>book.
>
>In ASP I can iterate through the request object when a form is submitted
>like so:
>
>For Each Item in Request.Form
> <<Do something>>
>Next
>
>Is there a corresponding method of doing this in JSP?
>_________________________________________________________________________
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>Share information about yourself, create your own public profile at
>http://profiles.msn.com.
>
>
>---
>NEED TECHNICAL TIPS, TOOLS, AND INSIGHTS? Is FREE okay?
>Visit EarthWeb for the latest in IT Management, Software Development,
>Web Development, Networking & Communications, and Hardware & Systems.
>Click on http://www.earthweb.com for FREE articles, tutorials,
>and discussions from the experts.
>
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.