src/main/java/com/sterling/controller/web/WebController.java
@RequestMapping(value = { "/list" }, method = RequestMethod.POST)
    public String listUsers(Map<String, Object> model) {
    	List<ContactVO>  contacts = service.getAllContacts();
        model.put("contacts", contacts);
        return "userslist";
    }
/**
     * This method will list all existing users.
     */
This method will list all existing users.
This method will list all existing users .
@RequestMapping(value = { "/list" }, method = RequestMethod.POST)
    public String listUsers(Map<String, Object> model) {
    	List<ContactVO>  contacts = service.getAllContacts();
        model.put("contacts", contacts);
        return "userslist";
    }
@ RequestMapping ( value = { "/list" } , method = RequestMethod . POST ) public String listUsers ( Map < String , Object > model ) { List < ContactVO > contacts = service . getAllContacts ( ) ; model . put ( "contacts" , contacts ) ; return "userslist" ; }
This method will list all existing users.
This method will list all existing users .