p3t0r
May 31st, 2006, 11:27 AM
If I have multiple request parameters using the same name binding them to a string property results in a CSV string.... i.e:
// setup mock request
MockHttpServletRequest request = new MockHttpServletRequest();
// parent params
request.addParameter("text", "a");
request.addParameter("text", "b");
request.addParameter("text", "c");
results in the text property having a value of "a,b,c"
Nice, but unwanted... is it possible to change this behaviour?
// setup mock request
MockHttpServletRequest request = new MockHttpServletRequest();
// parent params
request.addParameter("text", "a");
request.addParameter("text", "b");
request.addParameter("text", "c");
results in the text property having a value of "a,b,c"
Nice, but unwanted... is it possible to change this behaviour?