Spring Mapping Url to Controller and View
问题 I have the standard Spring 4.x files in Netbeans 8.0.2. I added a controller, RegisterController.java in the controllers -package. I also added one model, a User , with some basic information about the user. Next I made 2 .jsp files, Registration.jsp and RegistrationSuccess.jsp . Here is my RegisterController : @Controller @RequestMapping(value="/register") public class RegisterController { @RequestMapping(method=RequestMethod.GET) public String viewRegistration(Model model){ User user = new