February 2017
Intermediate to advanced
1023 pages
24h 11m
English
|
Questions |
Answers |
|
Consider the following customer Controller: @Controller("/customers")
public class CustomerController {
@RequestMapping("/list")
public String list(Model model) {
return "customers";
}
@RequestMapping("/process")
public String process(Model model) {
// return
}
}
If I want to redirect the |
3. |
|
Consider the following resource configuration: @Override
public void addResourceHandlers(ResourceHandlerRegistry registry) {
registry.addResourceHandler("/resources/**")
.addResourceLocations("/pdf/");
}
Under the |
Read now
Unlock full access