This can be done by using GET request method instead of post request and using @requestparam method.
@RequestMapping(value="/addrecording", method = RequestMethod.GET)
public @ResponseBody String addRecord(HttpServletRequest request,HttpServletResponse response,@RequestParam("tablename") String tablename, @RequestParam("aparty") String aparty, @RequestParam("bparty") String bparty , @RequestParam("filename") String filename)