RequestParam « Annotation « Spring Q&A

1. Internal working of Springs's @RequestParam annotation

In Spring, the two following statements are, if I'm not mistaken, identical:

@RequestParam("type") String type
@RequestParam String type
How can spring know the variable name of 'type' (second version). I was under the impression that ...

2. Usage of @RequestParam throws error in Spring 3

I am using the @RequestParam annotation to get the request parameters , and using the same to insert the values into the DB. I have setup the controller to re-direct to the ...

3. retrieve request params without @RequestParam annotation ?

retrieve request params without @RequestParam annotation ? Hi there, the jQuery is sending a request with a param (selectedcategory) to my spring mvc controller by load(): Code: