Coder Social home page Coder Social logo

lovediary's Introduction

开发笔记

随便做的一个小demo哄女友开心的。顺便记下一些遇到的问题。

防止访问ajax的url

@RequestMapping(value = "/findAll", method = RequestMethod.POST)

拦截登录,登录之后返回上一个页面

在拦截器里获取所拦截的url,存入session,然后跳转到登录页面,
然后登录成功之后,扫描session有没有要跳转的页面,有就跳转

时间会少一天

在连接数据库的字符串加上

serverTimezone=Asia/Shanghai

密码双重加密

前端md5一次,服务器md5一次

静态包含

静态包含是<%@ include file="**.jsp" %> 是将所包含的jsp与主jsp一起编译再运行 所以可以抽取公共结构

jdbc配置文件已擦除

观后感

隔了那么久来看这个代码,真的是非常爆笑了,不成熟的技术却想着成熟地给心爱的人做东西

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.