Re: [Simpleweb-Support] getParameterValues method on simple.http.Request
Brought to you by:
niallg
From: Carfield Y. <car...@gm...> - 2006-03-23 03:57:47
|
May be use Request.getParameters() that return Parameters ?? On 3/23/06, Dennis Watson <de...@gu...> wrote: > Hi, > > I need to handle URLs with multiple values for the same CGI variable such= as: > > http://simple.server.com?a=3D1&a=3D2&a=3D3 > > According to the Simple documentation the Parameters interface "follows t= he > parameter methods found in the Java Servlet API Specification." This mea= ns I > should be able to get multiple values out using the getParameterValues li= ke > so: > > String[] a =3D req.getParameterValues("a"); > > But I don't see this method in the Simple javadoc and it breaks when I tr= y and > complie my program with this method. > > How can I get multiple values for a single named variable? > > TIA, > > > Dennis > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting langua= ge > that extends applications into web and mobile media. Attend the live webc= ast > and join the prime developer group breaking into this new coding territor= y! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D121642 > _______________________________________________ > Simpleweb-Support mailing list > Sim...@li... > https://lists.sourceforge.net/lists/listinfo/simpleweb-support > |