title: Can anyone explain how does @RequestMapping and @RequestBody works?
body: <p>I have some doubts regarding how does @RequestMapping and @RequestBody actually woks.I have a code which is as follows:</p>
  
  <pre><code>@Controller
  public class CoreController {
  @Autowired
  LoggerExtension log;
  @Autowired
  DoService doService;
      @RequestMapping(value="/method.do")
  public @ResponseBody String getActionResponse(HttpServletRequest request,HttpServletResponse response){         
      String action = request.getParameter("action");     
      String gender = request.getParameter("gender");
      String language = request.getParameter("language");
              if("getLanguage".equalsIgnoreCase(action)){
              returnResponse = doService.getUserLanguage(msisdn);
             }
       }
          return returnResponse;
         }
  </code></pre>
  
  <p>I want to know how does the above code works? Please help me to clear this concepts...</p>