[Simpleweb-Support] getParameterValues method on simple.http.Request
Brought to you by:
niallg
From: Dennis W. <de...@gu...> - 2006-03-23 01:22:41
|
Hi, I need to handle URLs with multiple values for the same CGI variable such as: http://simple.server.com?a=1&a=2&a=3 According to the Simple documentation the Parameters interface "follows the parameter methods found in the Java Servlet API Specification." This means I should be able to get multiple values out using the getParameterValues like so: String[] a = req.getParameterValues("a"); But I don't see this method in the Simple javadoc and it breaks when I try and complie my program with this method. How can I get multiple values for a single named variable? TIA, Dennis |