u can access the reuest in this way
Map obj=new HashMap();
Enumeration objEnum=req.getParameterNames();
boolean st=false;
while(objEnum.hasMoreElements())
Nikola Milutinovic wrote:
>>>String searchFields[] = request.getParameterValues("searchField");
>>>String searchFieldValue = searchFields[1];
>>>
>>>I should be able to just do:
>>>String searchFieldValue = request.getParameter("searchField");
>>>
>>>
>>>Why would I be getting an array with two v
> > String searchFields[] = request.getParameterValues("searchField");
> > String searchFieldValue = searchFields[1];
> >
> > I should be able to just do:
> > String searchFieldValue = request.getParameter("searchField");
> >
> >
> > Why would I be getting an array with two values? I w
Russ Bonsall wrote:
> I am having a problem in Tomcat 4.1.12 that I did not have in Tomcat 4.0.4.
> I have a jsp that has two forms. Both forms have the same name and use most
> of the same parameters. The first form has a drop-down("searchField") and a
> textfield("searchString"). In Tomcat 4.
45 PM
> To: '[EMAIL PROTECTED]'
> Subject: Request parameters not coming through correctly
> [Tomcat 4.1.12]
>
>
>
> I am having a problem in Tomcat 4.1.12 that I did not have in
> Tomcat 4.0.4.
> I have a jsp that has two forms. Both forms have the same
I am having a problem in Tomcat 4.1.12 that I did not have in Tomcat 4.0.4.
I have a jsp that has two forms. Both forms have the same name and use most
of the same parameters. The first form has a drop-down("searchField") and a
textfield("searchString"). In Tomcat 4.0.4 these values came throu