mvc: view-controller tag allows us without any handler and direct access to the relevant view.
In springmvc.xml configuration file is:
<! - page configuration directly forwarding -> <! - can be forwarded directly corresponding page, without having to go through the method Handler. -> < MVC: View-Controller path = "/ Success" View-name = "Success" />
At this point, we can be entered directly in the browser: springmvc1 for my own project name
http://localhost:8080/springmvc1/success
However, by then the original handler way access will be given, and this time you can configure the following in springmvc.xml in.
<! - typically needs to be configured in the actual development mvc: annotation-driven tag -> < mvc: annotation-driven > </ mvc: annotation-driven >