http « Annotation « Spring Q&A





1. @ResponseBody annotation reseting headers on response    stackoverflow.com

I'm using Spring 3.0 and have something like the following

@ResponseBody
@RequestMapping(method = RequestMethod.POST, value = "/someUrl")
public String handleSomeUrl(@RequestParam(required = true) Long someId){
    // ...
    return someString;
}
I ...

2. Spring Web Annotations - HTTP 404 Not Found    forum.springsource.org

Spring Web Annotations - HTTP 404 Not Found Hi, I'm trying to convert the sample InventoryController to use Spring annotations but keep hitting problems. My InventoryController is defined as below. When ...