class SampleController method=RequestMethod. The value submitted from the form is processed by the send is an annotation to specify the value submitted to the form, which passes the value entered in the form's name = "text1" to this argument str`. The sample has the same address and distinguishes between GET and POST for methods. If there are multiple arguments for like (value = "/", method = RequestMethod.POST), omit the argument name like value = "/" for the mapping destination. When the specified path is accessed, the method with this annotation will be executed. Write as ("/ ") and specify the path as an argument. It means to execute this method when this address is accessed. Uses such as sending back necessary information in text or XML format when RequestMapping It is used to build a system that can be accessed from the outside to retrieve necessary information. Groovy is a language that is suitable for prototyping in a short time before full-scale development in Java. Super easy application development with Groovy Since this article is used as a cheat sheet, it is omitted here. What is Spring Boot?Ī framework (group) created by combining the library provided by Spring Framework and Spring MVC (framework) for high-speed WEB application development. The target audience is those who have learned the basics of Java and have no experience with Spring Boot-the level who have begun to study the basics. A method marked with the Bean annotation is a bean producer. Beans are the components of the system that you want to wire together. Configuration- used to mark a class as a source of the bean definitions. The author who uses Spring for business studied "( to Programming-Yano Palm Tatsu / dp / 4798053473)" It's like a cheat sheet or reading memo. Here are the most important annotations any Java developer working with Spring should know: 1.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |