现在的位置: 首页 > 综合 > 正文

我的 Login .jsp 为什么在TOMCAT 中打不开 ?

2019年05月14日 ⁄ 综合 ⁄ 共 448字 ⁄ 字号 评论关闭

TOMCAT 已经启动了

import javax.servlet.http.HttpServletRequest;

import javax.servlet.http.HttpServletResponse;

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

@Controller
public class HomeController {
    
	@RequestMapping("/")
    public ModelAndView doCalIcePage(HttpServletRequest request,HttpServletResponse response)
    {
		return new ModelAndView("default");
    }

如果关掉了 TOMCAT

抱歉!评论已关闭.