私は春が初めてです。いくつかの GET パラメーターの RequestMapping を持つコントローラーがあります。それらは String を返します。ただし、1 つのメソッドは「/res/」フォルダー内のファイルを返す必要があります。それ、どうやったら出来るの?
@RequestMapping(method = RequestMethod.GET,value = "/getfile")
public @ResponseBody
String getReviewedFile(@RequestParam("fileName") String fileName)
{
return //the File Content or better the file itself
}
ありがとう