Created
June 26, 2017 04:19
-
-
Save mattn/f9cc8c06588a68d857f4c28756873f98 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
```java | |
@RequestMapping(value="/hoge2/←フォームのあるhtml名") | |
public String text(@RequestParam("text←値のname") String | |
text,@ModelAttribute("HogeForm←値をセットしたいmodel") HogeForm hogeForm) { | |
hogeForm.setText(text); | |
return "hoge2"; | |
} | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment