Git Product home page Git Product logo

waterlab's Introduction

waterlab

自学Java一年多,自己动手做了一个项目,希望能给自学编程的朋友们有所帮助。

【项目介绍】
本项目分为3个模块:
1、报表填写:使用ajax向后台提交表单数据
2、报表及用户管理:数据的CRUD操作
3、数据图表:使用ajax接收从后台返回的数据,前端用Chart.js呈现数据

【开发工具及环境】
环境:win10
开发工具:MyEclipse、Tomcat7、Mysql5.5
浏览器:Google Chrome 57、Firefox Quantum 58.0.1
  [>_<]:
  win10什么时候能用IE8?

【开发所用技术】
前端:jsp、bootstrap3、boostrap table、jQuery、bootstrap validator、chart.js
后端:Struts2、Hibernate3、Spring3、jdk1.6
数据交互格式:json(前端采用Ajax,后端采用fastjson)
采用MVC模式

【数据库设计】

image

【关于登录及拦截器】
输入http://localhost:3306/lab,进入登录界面
分为普通用户和管理用户(通过userRole字段来区分)
普通用户(username:jackzg1,password:123)
管理用户(username:jackzg5,password:123)


定义了2个拦截器LoginInterceptor和MethodInterceptor,拦截器的作用:
1、只有登录用户才能进行访问
2、区分普通用户和管理用户的访问权限

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.