samples/xml/contacts/src/main/java/sample/contact/IndexController.java
@RequestMapping(value = "/hello.htm", method = RequestMethod.GET)
	public ModelAndView displayPublicIndex() {
		Contact rnd = contactManager.getRandomContact();

		return new ModelAndView("hello", "contact", rnd);
	}
@RequestMapping(value = "/hello.htm", method = RequestMethod.GET)
	public ModelAndView displayPublicIndex() {
		Contact rnd = contactManager.getRandomContact();

		return new ModelAndView("hello", "contact", rnd);
	}
@ RequestMapping ( value = "/hello.htm" , method = RequestMethod . GET ) public ModelAndView displayPublicIndex ( ) { Contact rnd = contactManager . getRandomContact ( ) ; return new ModelAndView ( "hello" , "contact" , rnd ) ; }
The public index page, used for unauthenticated users.
The public index page used for unauthenticated users .