1. Controller RequestParam question forum.springsource.orgController RequestParam question I apologize for being a newb, but I am familiar with Struts 1 & 2. I have done some Spring MVC 2.0 without annotations, and now I am ... |
2. Annotated controller and requestParam forum.springsource.orgCode: @RequestMapping(value ="/content_upload/upload_new_picture.htm", method = RequestMethod.POST) public ModelAndView uploadNewVideo(@RequestParam("textfield") MultipartFile file, @RequestParam("mediaId") String mediaId, @RequestParam("contentId") String contentId, @RequestParam("position") String position)throws IOException{ logger.info("upload: "+mediaId+" "+contentId+" "+position); return new ModelAndView("content_upload/SMS"); } |
3. Problem with @Controller and @RequestParam forum.springsource.orgProblem with @Controller and @RequestParam I have a simple controller that takes one request parameter: Code: @Controller @RequestMapping("/secure/somurl.htm") public class ProblemListController { @Autowired private ServiceFacade serviceFacade; @RequestMapping public ModelAndView handleRequest(@RequestParam("productKy") Long ... |