@Controller public class SignupController extends Object
| Constructor and Description |
|---|
SignupController() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUserService(UserService userService) |
String |
showSignupForm(org.springframework.ui.Model model,
SignupCommand command) |
String |
showSignupForm(org.springframework.ui.Model model,
SignupCommand command,
org.springframework.validation.BindingResult errors) |
@Autowired public void setUserService(UserService userService)
@RequestMapping(value="/signup",
method=GET)
public String showSignupForm(org.springframework.ui.Model model,
@ModelAttribute
SignupCommand command)
@RequestMapping(value="/signup",
method=POST)
public String showSignupForm(org.springframework.ui.Model model,
@ModelAttribute
SignupCommand command,
org.springframework.validation.BindingResult errors)
Copyright © 2004–2019 The Apache Software Foundation. All rights reserved.