title: learning Spring's @RequestBody and @RequestParam
body: <p>I'm editing a web project that uses Spring and I need to adding some of Spring's annotations.  Two of the ones I'm adding are <a href="http://static.springsource.org/spring/docs/3.0.x/javadoc-api/org/springframework/web/bind/annotation/RequestBody.html" rel="nofollow noreferrer">@RequestBody</a> and <a href="http://static.springsource.org/spring/docs/3.0.x/javadoc-api/org/springframework/web/bind/annotation/RequestParam.html" rel="nofollow noreferrer">@RequestParam</a>. I've been poking around a little and found <a href="https://stackoverflow.com/questions/454689/spring-annotation-based-controller-requestmapping-based-on-query-string">this</a>, but I still don't completely understand how to use these annotations. Could anyone provide an example?</p>