Spring-portlet POST ajax xmlHttpRequest
问题 Could please anybody who has experiences with processing post xmlHttpRequests with Spring DispatcherPortlet, tell me what is the best way to do it ? I'm using YUI io module and Jackson Object Mapper as an example : @ResourceMapping(value="stuff") public void method(ResourceResponse response){ Person person = new Person(); person.setWeight(150); ObjectMapper mapper = new ObjectMapper(); try{ mapper.writeValue(response.getWriter(), person); } ... } Ajax: function() { var A = AUI(); A.io("