第一种方法1、常规方式,controlller控制器不分层 controller pojo html文件 postman发送get请求解析XML文件 第2种方法 第3种方法 IOC和DI 控制反转,依赖注入