Java tutorial
/******************************************************************************* * @(#)DashboardController.java 2013-2-28 * * Copyright 2013 Mooko Team. All rights reserved. * Mooko PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. *******************************************************************************/ package net.mooko.moosm.demo; import org.springframework.stereotype.Controller; import org.springframework.ui.ModelMap; import org.springframework.web.bind.annotation.RequestMapping; /** * <PRE> * * XXXX * ? * * ? * * ? * * </PRE> * @author <a href="mailto:puras.he@gmail.com">Puras.He</a> * @version $Revision 1.0 $ 2013-2-28 ?1:12:00 */ @Controller public class DashboardController { @RequestMapping("dashboard") public String index(ModelMap model, Integer num) { System.out.println("dashboard"); model.addAttribute("demo", ""); return "dashboard"; } }