Hi On 24/02/12 18:13, Ari King wrote:
Hi,I've configured a method to receive query string parameters (see below), but it does NOT receive all sent parameters. public Response lookup (@QueryParam("") CriteriaDto criteria) { ... } Seemingly encoded parameters are NOT populated in the DTO. For example, given -- Raw query string: ?locations[]=10001&name=ari Encoded query string: ?locations%5B%5D=10001&name=ari The "locations[]" parameter is ignored, whereas "name" is populated in the CriteriaDto.
? locations=10001 should do, even if it's an array property on CriteriaDto Cheers, Sergey
I've swapped out jettison for jackson. Does anyone know what could be wrong? Do I need to change any configurations to handle the url encoding? Thanks. -Ari
