随笔分类 -  ssm配置

摘要:@Controller public class UserController { @Autowired private UserService userService; @ResponseBody @RequestMapping(value = "/userlist",method = Reque 阅读全文
posted @ 2020-09-25 16:04 火烧云Z 阅读(95) 评论(0) 推荐(0) 编辑
摘要:接口 public interface UserService { List<User> getUserList(); User getUser(int id); } 接口实现类 @Service("userService") public class UserServiceImpl impleme 阅读全文
posted @ 2020-09-25 16:03 火烧云Z 阅读(124) 评论(0) 推荐(0) 编辑
摘要:public class CorsFilter implements Filter { public void init(FilterConfig filterConfig) throws ServletException { } public void doFilter(ServletReques 阅读全文
posted @ 2020-09-25 16:01 火烧云Z 阅读(123) 评论(0) 推荐(0) 编辑
摘要:public interface UserDao { List<User> getUserList(); User getUser(int id); } <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE mapper PUBLIC "-//mybati 阅读全文
posted @ 2020-09-25 15:59 火烧云Z 阅读(190) 评论(0) 推荐(0) 编辑
摘要:<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org/dtd/mybatis-3-config.dt 阅读全文
posted @ 2020-09-25 15:56 火烧云Z 阅读(102) 评论(0) 推荐(0) 编辑
摘要:<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:context="http://www.springframework.org/schema 阅读全文
posted @ 2020-08-24 21:03 火烧云Z 阅读(219) 评论(0) 推荐(0) 编辑
摘要:<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance 阅读全文
posted @ 2020-08-24 21:02 火烧云Z 阅读(180) 评论(0) 推荐(0) 编辑
摘要:<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:context="http://www.springframework.org/schema 阅读全文
posted @ 2020-08-24 21:00 火烧云Z 阅读(91) 评论(0) 推荐(0) 编辑
摘要:<?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:s 阅读全文
posted @ 2020-08-24 20:58 火烧云Z 阅读(73) 评论(0) 推荐(0) 编辑
摘要:<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:sc 阅读全文
posted @ 2020-08-24 08:54 火烧云Z 阅读(283) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示