开发清单
- JDK 1.7
- Servlet 3.0
- JSP
- Dom4j 1.6.1
- FullCanlendar 3
后台考虑兼容性,并没有使用数据库,而是采用xml格式存储数据,毕竟一年只有365天,点击FullCanlendar的某一天,设置为休息日,再次点击取消。
XML格式为:
<?xml version="1.0" encoding="UTF-8"?> <roots xmlns="http://www.phpStudy.net" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.phpStudy.net note.xsd"> <event ID="S2016-12-11" start="2016-12-11" title="休息日"/> <event ID="S2016-12-04" start="2016-12-04" tit