Spring Framework - Fun with Controllers
How to Program with Java Podcast - Podcast tekijän mukaan Trevor Page: Java Guru | Programmer | Teacher
Kategoriat:
In our last episode I talked about controllers and how they are used in Spring. In this episode I will be diving even further into Controllers in the Spring Framework and I will talk about the different parameters that can be passed into each method within each Controller. For example, there are HttpServletRequest objects, Model objects as well as @RequestParam and @ModelAttribute annotations that can be used within your Controller's methods. The beauty of the Spring framework is that you can pick and choose which ones you want to include within any given method.