资源简介

基于SSM开发的简单商城,用户登录验证基于Ajax,有关mybatis基本操作都有,采用的是mapper代理方式,页面jsp采用c标签渲染,很适合要学习SSM框架的童鞋,非常具有学习参考价值

资源截图

代码片段和文件信息

package com.ssm.controller;

import java.util.List;

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

import com.ssm.pojo.ItemsCustom;
import com.ssm.service.ItemsService;

@Controller
public class ItemsController {
    @Autowired
private ItemsService itemsService;
@RequestMapping(“/queryItems.do“)
public ModelAndView queryItems() throws Exception {

List itemsList=itemsService.findItemsList(null);
ModelAndView mav=new ModelAndView();
mav.addobject(“itemsList“ itemsList);
mav.setViewName(“/WEB-INF/jsp/items/itemsList.jsp“);
return mav;

}
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-12-06 17:59  SpringMvc_mybatis\
     文件        3468  2018-08-20 11:16  SpringMvc_mybatis\.classpath
     文件         917  2018-08-20 10:47  SpringMvc_mybatis\.project
     目录           0  2018-12-06 17:59  SpringMvc_mybatis\.settings\
     文件         567  2018-08-20 10:47  SpringMvc_mybatis\.settings\.jsdtscope
     文件         364  2018-08-20 10:47  SpringMvc_mybatis\.settings\org.eclipse.jdt.core.prefs
     文件         580  2018-08-20 11:16  SpringMvc_mybatis\.settings\org.eclipse.wst.common.component
     文件         345  2018-08-20 10:47  SpringMvc_mybatis\.settings\org.eclipse.wst.common.project.facet.core.xml
     文件          49  2018-08-20 10:47  SpringMvc_mybatis\.settings\org.eclipse.wst.jsdt.ui.superType.container
     文件           6  2018-08-20 10:47  SpringMvc_mybatis\.settings\org.eclipse.wst.jsdt.ui.superType.name
     目录           0  2018-12-06 17:59  SpringMvc_mybatis\WebContent\
     目录           0  2018-12-06 17:59  SpringMvc_mybatis\WebContent\meta-INF\
     文件          39  2018-08-20 10:47  SpringMvc_mybatis\WebContent\meta-INF\MANIFEST.MF
     目录           0  2018-12-06 17:59  SpringMvc_mybatis\WebContent\WEB-INF\
     目录           0  2018-12-06 17:59  SpringMvc_mybatis\WebContent\WEB-INF\jsp\
     目录           0  2018-12-06 17:59  SpringMvc_mybatis\WebContent\WEB-INF\jsp\items\
     文件        1582  2018-08-27 08:42  SpringMvc_mybatis\WebContent\WEB-INF\jsp\items\editItems.jsp
     文件        1228  2018-08-27 08:44  SpringMvc_mybatis\WebContent\WEB-INF\jsp\items\itemsList.jsp
     文件         361  2018-08-27 08:42  SpringMvc_mybatis\WebContent\WEB-INF\jsp\success.jsp
     目录           0  2018-12-06 17:59  SpringMvc_mybatis\WebContent\WEB-INF\lib\
     文件      160519  2018-08-08 09:33  SpringMvc_mybatis\WebContent\WEB-INF\lib\commons-dbcp-1.4.jar
     文件       57779  2018-08-08 09:33  SpringMvc_mybatis\WebContent\WEB-INF\lib\commons-fileupload-1.2.1.jar
     文件      109043  2018-08-08 09:33  SpringMvc_mybatis\WebContent\WEB-INF\lib\commons-io-1.4.jar
     文件      315805  2018-08-08 09:33  SpringMvc_mybatis\WebContent\WEB-INF\lib\commons-lang3-3.1.jar
     文件       60841  2018-08-08 09:33  SpringMvc_mybatis\WebContent\WEB-INF\lib\commons-logging.jar
     文件       62103  2018-08-08 09:33  SpringMvc_mybatis\WebContent\WEB-INF\lib\commons-pool.jar
     文件     1105958  2018-08-08 09:33  SpringMvc_mybatis\WebContent\WEB-INF\lib\jackson-all-1.9.0.jar
     文件       33483  2018-08-08 09:33  SpringMvc_mybatis\WebContent\WEB-INF\lib\jackson-annotations-2.2.3.jar
     文件      192699  2018-08-08 09:33  SpringMvc_mybatis\WebContent\WEB-INF\lib\jackson-core-2.2.3.jar
     文件      865838  2018-08-08 09:33  SpringMvc_mybatis\WebContent\WEB-INF\lib\jackson-databind-2.2.3.jar
     文件      252223  2018-08-08 09:33  SpringMvc_mybatis\WebContent\WEB-INF\lib\jsqlparser-0.9.1.jar
............此处省略72个文件信息

评论

共有 条评论