0
可以在任何請告訴我,我怎麼能叫下面用RestTemplate服務方法。謝謝。如何調用REST服務方法與RestTemplate
@RequestMapping(value = "/file/upload", method = { RequestMethod.GET, RequestMethod.POST })
public String fileUpload(@RequestParam("file") MultipartFile file) { }
你有沒有看着resttemplate? http://docs.spring.io/spring/docs/3.2.x/spring-framework-reference/html/remoting.html#rest-resttemplate http://docs.spring.io/spring-android/docs.old /1.0.x/reference/html/rest-template.html – ravi 2014-02-02 01:16:49