Using both @RequestBody and normal parameters
I am using spring 3 co开发者_开发技巧ntrollers with a flex client. I am now using @RequestBody in order to pass xml's to the server. How can i pass additional parameters?
Thank you.
You can mix and match easily enough:
public String handle(@RequestBody String xml, @RequestParam String x, @RequestParam String y) {
...
}
精彩评论