package com.poseidon.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import com.poseidon.annotation.ViewName;

@Controller
public class HomeController {

	@RequestMapping("/homePage")
	@ViewName(name = "home")
	public ModelAndView home(ModelAndView modelAndView) {
		return modelAndView;
	}

}

@@ -417,10 +417,159 @@
 ew;%0A%09%7D%0A%0A
+%09@RequestMapping(%22/%22)%0A%09@ViewName(name = %22redirect:homePage%22)%0A%09public ModelAndView defaultUrl(ModelAndView modelAndView) %7B%0A%09%09return modelAndView;%0A%09%7D%0A%0A
 %7D%0A

add defaulturl