package com.lance.sitemesh.web;

public class IndexController {

}

package com.lance.sitemesh.web;

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

@Controller
@RequestMapping("/admin/")
public class IndexController {

	@RequestMapping("index")
	public String index(){
		return "index.jsp";
	}
}

add index.jsp