Code Monkey home page Code Monkey logo

s-mall-servlet's Introduction

小小商城系统 - Servlet版

练手JavaWEB项目,本版本为 Servlet 版(实现了SSM版85%的功能),基于原生JDBC数据库连接,通过手动实现Filter进行URL和Servlet之间的映射


演示(SSM版):https://small.ડ.com/
可自行注册账号,或使用后台查看权限账号 demo 密码 demo (后台入口登陆后显示)

兄弟项目:
SSH版(实现了SSM版95%功能)
SSM版(完整版)


本项目的亮点:

  • 功能齐全,页面丰富,实现了小商城的大部分功能
  • 前端仿天猫2017页面,基于原生CSS(前台)、Bootstrap(后台)、Jquery、Bootstrap Js构建
  • 本项目后端使用原生 Servlet + JDBC + Filter 实现,轻量化构建。
  • 实现了一个 BaseFilter 做用户鉴权 和 调用 Servlet 的方法(根据url)

讲解文章:

功能:

  • 首页、分类页、搜索页、产品页
  • 购物车页面、下单页、支付页及支付成功页
  • 我的订单页、确认收货及成功页、评价页
  • 登陆页、注册页
  • 全部数据库的后台可视化管理
  • 网站设置

安装使用:

  1. 若使用IDE打开,需将WEB-INF下的LIB文件夹和Tomcat文件夹下的LIB文件夹到库依赖即可
  2. 若在Tomcat中部署,直接复制文件夹到Tomcat相应位置即可
  3. 导入数据库small.sql,在 src\util\DBUtil.java中配置数据库
  4. 默认后台地址 /admin ,账户密码为 admin 123456 ,新建用户在前台注册,需要后台权限需要在数据库的User表的group_列中将该用户的用户组设置为 superAdmin
  5. JDK >= 1.8、数据库 Mysql

s-mall-servlet's People

Contributors

xenv avatar hbyscx001 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.