@RequestMapping(value = "/signup", method = RequestMethod.GET)
    public String showSignupForm(Model model, @ModelAttribute SignupCommand command) {
        return "signup";
    }
Web MVC controller that handles signup requests.
samples/spring-hibernate/src/main/java/org/apache/shiro/samples/sprhib/web/SignupController.java