---
title: "java 日期处理工具类 DateUtil"
author: "bjtdeyx"
date: "2012-06-05T15:11:00Z"
tags: ["DateUtil", "Java", "日期处理工具类"]
categories: ["编程语言"]
slug: "java-dateutil"
draft: false
lastmod: "2013-05-12T23:22:57Z"
id: 1551946
url: "https://bjtdeyx.iteye.com/blog/1551946"
---

001. package com.util;
002. import java.text.ParseException;
003. import java.text.ParsePosition;
004. import java.text.SimpleDateFormat;
005. import java.util.Calendar;
006. import java.util.Date;
007. import java.util.GregorianCalendar;
008. import org.apache.commons.lang.StringUtils;
009. import org.apache.log4j.Logger;
010. /\**
011. * 日期处理工具类
012. * @author dylan\_xu
013. * @date Mar 11, 2012
014. * @modified by
015. * @modified date
016. * @since JDK1.6
017. * @see com.util.DateUtil
018. \*/
019. public class DateUtil {
020. // ~ Static fields/initializers
021. // =============================================
022. private static Logger logger = Logger.getLogger(DateUtil.class);
023. private static String defaultDatePattern = null;
024. private static String timePattern = "HH:mm";
025. private static Calendar cale = Calendar.getInstance();
026. public static final String TS\_FORMAT = DateUtil.getDatePattern() + " HH:mm:ss.S";
027. /\** 日期格式yyyy-MM字符串常量 \*/
028. private static final String MONTH\_FORMAT = "yyyy-MM";
029. /\** 日期格式yyyy-MM-dd字符串常量 \*/
030. private static final String DATE\_FORMAT = "yyyy-MM-dd";
031. /\** 日期格式HH:mm:ss字符串常量 \*/
032. private static final String HOUR\_FORMAT = "HH:mm:ss";
033. /\** 日期格式yyyy-MM-dd HH:mm:ss字符串常量 \*/
034. private static final String DATETIME\_FORMAT = "yyyy-MM-dd HH:mm:ss";
035. /\** 某天开始时分秒字符串常量  00:00:00 \*/
036. private static final String DAY\_BEGIN\_STRING\_HHMMSS = " 00:00:00";
037. /\**  某天结束时分秒字符串常量  23:59:59  \*/
038. public static final String DAY\_END\_STRING\_HHMMSS = " 23:59:59";
039. private static SimpleDateFormat sdf\_date\_format = new SimpleDateFormat(DATE\_FORMAT);
040. private static SimpleDateFormat sdf\_hour\_format = new SimpleDateFormat(HOUR\_FORMAT);
041. private static SimpleDateFormat sdf\_datetime\_format = new SimpleDateFormat(DATETIME\_FORMAT);
042. // ~ Methods
043. // ================================================================
044. public DateUtil() {
045. }
046. /\**
047. * 获得服务器当前日期及时间，以格式为：yyyy-MM-dd HH:mm:ss的日期字符串形式返回
048. * @author dylan\_xu
049. * @date Mar 11, 2012
050. * @return
051. \*/
052. public static String getDateTime() {
053. try {
054. return sdf\_datetime\_format.format(cale.getTime());
055. } catch (Exception e) {
056. logger.debug("DateUtil.getDateTime():" + e.getMessage());
057. return "";
058. }
059. }
060. /\**
061. * 获得服务器当前日期，以格式为：yyyy-MM-dd的日期字符串形式返回
062. * @author dylan\_xu
063. * @date Mar 11, 2012
064. * @return
065. \*/
066. public static String getDate() {
067. try {
068. return sdf\_date\_format.format(cale.getTime());
069. } catch (Exception e) {
070. logger.debug("DateUtil.getDate():" + e.getMessage());
071. return "";
072. }
073. }
074. /\**
075. * 获得服务器当前时间，以格式为：HH:mm:ss的日期字符串形式返回
076. * @author dylan\_xu
077. * @date Mar 11, 2012
078. * @return
079. \*/
080. public static String getTime() {
081. String temp = " ";
082. try {
083. temp += sdf\_hour\_format.format(cale.getTime());
084. return temp;
085. } catch (Exception e) {
086. logger.debug("DateUtil.getTime():" + e.getMessage());
087. return "";
088. }
089. }
090. /\**
091. * 统计时开始日期的默认值
092. * @author dylan\_xu
093. * @date Mar 11, 2012
094. * @return
095. \*/
096. public static String getStartDate() {
097. try {
098. return getYear() + "-01-01";
099. } catch (Exception e) {
100. logger.debug("DateUtil.getStartDate():" + e.getMessage());
101. return "";
102. }
103. }
104. /\**
105. * 统计时结束日期的默认值
106. * @author dylan\_xu
107. * @date Mar 11, 2012
108. * @return
109. \*/
110. public static String getEndDate() {
111. try {
112. return getDate();
113. } catch (Exception e) {
114. logger.debug("DateUtil.getEndDate():" + e.getMessage());
115. return "";
116. }
117. }
118. /\**
119. * 获得服务器当前日期的年份
120. * @author dylan\_xu
121. * @date Mar 11, 2012
122. * @return
123. \*/
124. public static String getYear() {
125. try {
126. return String.valueOf(cale.get(Calendar.YEAR));
127. } catch (Exception e) {
128. logger.debug("DateUtil.getYear():" + e.getMessage());
129. return "";
130. }
131. }
132. /\**
133. * 获得服务器当前日期的月份
134. * @author dylan\_xu
135. * @date Mar 11, 2012
136. * @return
137. \*/
138. public static String getMonth() {
139. try {
140. java.text.DecimalFormat df = new java.text.DecimalFormat();
141. df.applyPattern("00;00");
142. return df.format((cale.get(Calendar.MONTH) + 1));
143. } catch (Exception e) {
144. logger.debug("DateUtil.getMonth():" + e.getMessage());
145. return "";
146. }
147. }
148. /\**
149. * 获得服务器在当前月中天数
150. * @author dylan\_xu
151. * @date Mar 11, 2012
152. * @return
153. \*/
154. public static String getDay() {
155. try {
156. return String.valueOf(cale.get(Calendar.DAY\_OF\_MONTH));
157. } catch (Exception e) {
158. logger.debug("DateUtil.getDay():" + e.getMessage());
159. return "";
160. }
161. }
162. /\**
163. * 比较两个日期相差的天数
164. * @author dylan\_xu
165. * @date Mar 11, 2012
166. * @param date1
167. * @param date2
168. * @return
169. \*/
170. public static int getMargin(String date1, String date2) {
171. int margin;
172. try {
173. ParsePosition pos = new ParsePosition(0);
174. ParsePosition pos1 = new ParsePosition(0);
175. Date dt1 = sdf\_date\_format.parse(date1, pos);
176. Date dt2 = sdf\_date\_format.parse(date2, pos1);
177. long l = dt1.getTime() - dt2.getTime();
178. margin = (int) (l / (24 * 60 * 60 * 1000));
179. return margin;
180. } catch (Exception e) {
181. logger.debug("DateUtil.getMargin():" + e.toString());
182. return 0;
183. }
184. }
185. /\**
186. * 比较两个日期相差的天数
187. * @author dylan\_xu
188. * @date Mar 11, 2012
189. * @param date1
190. * @param date2
191. * @return
192. \*/
193. public static double getDoubleMargin(String date1, String date2) {
194. double margin;
195. try {
196. ParsePosition pos = new ParsePosition(0);
197. ParsePosition pos1 = new ParsePosition(0);
198. Date dt1 = sdf\_datetime\_format.parse(date1, pos);
199. Date dt2 = sdf\_datetime\_format.parse(date2, pos1);
200. long l = dt1.getTime() - dt2.getTime();
201. margin = (l / (24 * 60 * 60 * 1000.00));
202. return margin;
203. } catch (Exception e) {
204. logger.debug("DateUtil.getMargin():" + e.toString());
205. return 0;
206. }
207. }
208. /\**
209. * 比较两个日期相差的月数
210. * @author dylan\_xu
211. * @date Mar 11, 2012
212. * @param date1
213. * @param date2
214. * @return
215. \*/
216. public static int getMonthMargin(String date1, String date2) {
217. int margin;
218. try {
219. margin = (Integer.parseInt(date2.substring(0, 4)) - Integer.parseInt(date1.substring(0, 4))) * 12;
220. margin += (Integer.parseInt(date2.substring(4, 7).replaceAll("-0",
221. "-")) - Integer.parseInt(date1.substring(4, 7).replaceAll("-0", "-")));
222. return margin;
223. } catch (Exception e) {
224. logger.debug("DateUtil.getMargin():" + e.toString());
225. return 0;
226. }
227. }
228. /\**
229. * 返回日期加X天后的日期
230. * @author dylan\_xu
231. * @date Mar 11, 2012
232. * @param date
233. * @param i
234. * @return
235. \*/
236. public static String addDay(String date, int i) {
237. try {
238. GregorianCalendar gCal = new GregorianCalendar(
239. Integer.parseInt(date.substring(0, 4)),
240. Integer.parseInt(date.substring(5, 7)) - 1,
241. Integer.parseInt(date.substring(8, 10)));
242. gCal.add(GregorianCalendar.DATE, i);
243. return sdf\_date\_format.format(gCal.getTime());
244. } catch (Exception e) {
245. logger.debug("DateUtil.addDay():" + e.toString());
246. return getDate();
247. }
248. }
249. /\**
250. * 返回日期加X月后的日期
251. * @author dylan\_xu
252. * @date Mar 11, 2012
253. * @param date
254. * @param i
255. * @return
256. \*/
257. public static String addMonth(String date, int i) {
258. try {
259. GregorianCalendar gCal = new GregorianCalendar(
260. Integer.parseInt(date.substring(0, 4)),
261. Integer.parseInt(date.substring(5, 7)) - 1,
262. Integer.parseInt(date.substring(8, 10)));
263. gCal.add(GregorianCalendar.MONTH, i);
264. return sdf\_date\_format.format(gCal.getTime());
265. } catch (Exception e) {
266. logger.debug("DateUtil.addMonth():" + e.toString());
267. return getDate();
268. }
269. }
270. /\**
271. * 返回日期加X年后的日期
272. * @author dylan\_xu
273. * @date Mar 11, 2012
274. * @param date
275. * @param i
276. * @return
277. \*/
278. public static String addYear(String date, int i) {
279. try {
280. GregorianCalendar gCal = new GregorianCalendar(
281. Integer.parseInt(date.substring(0, 4)),
282. Integer.parseInt(date.substring(5, 7)) - 1,
283. Integer.parseInt(date.substring(8, 10)));
284. gCal.add(GregorianCalendar.YEAR, i);
285. return sdf\_date\_format.format(gCal.getTime());
286. } catch (Exception e) {
287. logger.debug("DateUtil.addYear():" + e.toString());
288. return "";
289. }
290. }
291. /\**
292. * 返回某年某月中的最大天
293. * @author dylan\_xu
294. * @date Mar 11, 2012
295. * @param year
296. * @param month
297. * @return
298. \*/
299. public static int getMaxDay(int iyear, int imonth) {
300. int day = 0;
301. try {
302. if (imonth == 1 || imonth == 3 || imonth == 5 || imonth == 7
303. || imonth == 8 || imonth == 10 || imonth == 12) {
304. day = 31;
305. } else if (imonth == 4 || imonth == 6 || imonth == 9 || imonth == 11) {
306. day = 30;
307. } else if ((0 == (iyear % 4)) && (0 != (iyear % 100)) || (0 == (iyear % 400))) {
308. day = 29;
309. } else {
310. day = 28;
311. }
312. return day;
313. } catch (Exception e) {
314. logger.debug("DateUtil.getMonthDay():" + e.toString());
315. return 1;
316. }
317. }
318. /\**
319. * 格式化日期
320. * @author dylan\_xu
321. * @date Mar 11, 2012
322. * @param orgDate
323. * @param Type
324. * @param Span
325. * @return
326. \*/
327. @SuppressWarnings("static-access")
328. public String rollDate(String orgDate, int Type, int Span) {
329. try {
330. String temp = "";
331. int iyear, imonth, iday;
332. int iPos = 0;
333. char seperater = '-';
334. if (orgDate == null || orgDate.length() &lt; 6) {
335. return "";
336. }
337. iPos = orgDate.indexOf(seperater);
338. if (iPos &gt; 0) {
339. iyear = Integer.parseInt(orgDate.substring(0, iPos));
340. temp = orgDate.substring(iPos + 1);
341. } else {
342. iyear = Integer.parseInt(orgDate.substring(0, 4));
343. temp = orgDate.substring(4);
344. }
345. iPos = temp.indexOf(seperater);
346. if (iPos &gt; 0) {
347. imonth = Integer.parseInt(temp.substring(0, iPos));
348. temp = temp.substring(iPos + 1);
349. } else {
350. imonth = Integer.parseInt(temp.substring(0, 2));
351. temp = temp.substring(2);
352. }
353. imonth--;
354. if (imonth &lt; 0 || imonth &gt; 11) {
355. imonth = 0;
356. }
357. iday = Integer.parseInt(temp);
358. if (iday &lt; 1 || iday &gt; 31)
359. iday = 1;
360. Calendar orgcale = Calendar.getInstance();
361. orgcale.set(iyear, imonth, iday);
362. temp = this.rollDate(orgcale, Type, Span);
363. return temp;
364. } catch (Exception e) {
365. return "";
366. }
367. }
368. public static String rollDate(Calendar cal, int Type, int Span) {
369. try {
370. String temp = "";
371. Calendar rolcale;
372. rolcale = cal;
373. rolcale.add(Type, Span);
374. temp = sdf\_date\_format.format(rolcale.getTime());
375. return temp;
376. } catch (Exception e) {
377. return "";
378. }
379. }
380. /\**
381. * 返回默认的日期格式
382. * @author dylan\_xu
383. * @date Mar 11, 2012
384. * @return
385. \*/
386. public static synchronized String getDatePattern() {
387. defaultDatePattern = "yyyy-MM-dd";
388. return defaultDatePattern;
389. }
390. /\**
391. * 将指定日期按默认格式进行格式代化成字符串后输出如：yyyy-MM-dd
392. * @author dylan\_xu
393. * @date Mar 11, 2012
394. * @param aDate
395. * @return
396. \*/
397. public static final String getDate(Date aDate) {
398. SimpleDateFormat df = null;
399. String returnValue = "";
400. if (aDate != null) {
401. df = new SimpleDateFormat(getDatePattern());
402. returnValue = df.format(aDate);
403. }
404. return (returnValue);
405. }
406. /\**
407. * 取得给定日期的时间字符串，格式为当前默认时间格式
408. * @author dylan\_xu
409. * @date Mar 11, 2012
410. * @param theTime
411. * @return
412. \*/
413. public static String getTimeNow(Date theTime) {
414. return getDateTime(timePattern, theTime);
415. }
416. /\**
417. * 取得当前时间的Calendar日历对象
418. * @author dylan\_xu
419. * @date Mar 11, 2012
420. * @return
421. * @throws ParseException
422. \*/
423. public Calendar getToday() throws ParseException {
424. Date today = new Date();
425. SimpleDateFormat df = new SimpleDateFormat(getDatePattern());
426. String todayAsString = df.format(today);
427. Calendar cal = new GregorianCalendar();
428. cal.setTime(convertStringToDate(todayAsString));
429. return cal;
430. }
431. /\**
432. * 将日期类转换成指定格式的字符串形式
433. * @author dylan\_xu
434. * @date Mar 11, 2012
435. * @param aMask
436. * @param aDate
437. * @return
438. \*/
439. public static final String getDateTime(String aMask, Date aDate) {
440. SimpleDateFormat df = null;
441. String returnValue = "";
442. if (aDate == null) {
443. logger.error("aDate is null!");
444. } else {
445. df = new SimpleDateFormat(aMask);
446. returnValue = df.format(aDate);
447. }
448. return (returnValue);
449. }
450. /\**
451. * 将指定的日期转换成默认格式的字符串形式
452. * @author dylan\_xu
453. * @date Mar 11, 2012
454. * @param aDate
455. * @return
456. \*/
457. public static final String convertDateToString(Date aDate) {
458. return getDateTime(getDatePattern(), aDate);
459. }
460. /\**
461. * 将日期字符串按指定格式转换成日期类型
462. * @author dylan\_xu
463. * @date Mar 11, 2012
464. * @param aMask 指定的日期格式，如:yyyy-MM-dd
465. * @param strDate 待转换的日期字符串
466. * @return
467. * @throws ParseException
468. \*/
469. public static final Date convertStringToDate(String aMask, String strDate)
470. throws ParseException {
471. SimpleDateFormat df = null;
472. Date date = null;
473. df = new SimpleDateFormat(aMask);
474. if (logger.isDebugEnabled()) {
475. logger.debug("converting '" + strDate + "' to date with mask '" + aMask + "'");
476. }
477. try {
478. date = df.parse(strDate);
479. } catch (ParseException pe) {
480. logger.error("ParseException: " + pe);
481. throw pe;
482. }
483. return (date);
484. }
485. /\**
486. * 将日期字符串按默认格式转换成日期类型
487. * @author dylan\_xu
488. * @date Mar 11, 2012
489. * @param strDate
490. * @return
491. * @throws ParseException
492. \*/
493. public static Date convertStringToDate(String strDate)
494. throws ParseException {
495. Date aDate = null;
496. try {
497. if (logger.isDebugEnabled()) {
498. logger.debug("converting date with pattern: " + getDatePattern());
499. }
500. aDate = convertStringToDate(getDatePattern(), strDate);
501. } catch (ParseException pe) {
502. logger.error("Could not convert '" + strDate + "' to a date, throwing exception");
503. throw new ParseException(pe.getMessage(), pe.getErrorOffset());
504. }
505. return aDate;
506. }
507. /\**
508. * 返回一个JAVA简单类型的日期字符串
509. * @author dylan\_xu
510. * @date Mar 11, 2012
511. * @return
512. \*/
513. public static String getSimpleDateFormat() {
514. SimpleDateFormat formatter = new SimpleDateFormat();
515. String NDateTime = formatter.format(new Date());
516. return NDateTime;
517. }
518. /\**
519. * 将指定字符串格式的日期与当前时间比较
520. * @author DYLAN
521. * @date Feb 17, 2012
522. * @param strDate 需要比较时间
523. * @return
524. *      &lt;p&gt;
525. *      int code
526. *      &lt;ul&gt;
527. *      &lt;li&gt;-1 当前时间 &lt; 比较时间 &lt;/li&gt;
528. *      &lt;li&gt; 0 当前时间 = 比较时间 &lt;/li&gt;
529. *      &lt;li&gt;&gt;=1当前时间 &gt; 比较时间 &lt;/li&gt;
530. *      &lt;/ul&gt;
531. *      &lt;/p&gt;
532. \*/
533. public static int compareToCurTime (String strDate) {
534. if (StringUtils.isBlank(strDate)) {
535. return -1;
536. }
537. Date curTime = cale.getTime();
538. String strCurTime = null;
539. try {
540. strCurTime = sdf\_datetime\_format.format(curTime);
541. } catch (Exception e) {
542. if (logger.isDebugEnabled()) {
543. logger.debug("\[Could not format '" + strDate + "' to a date, throwing exception:" + e.getLocalizedMessage() + "]");
544. }
545. }
546. if (StringUtils.isNotBlank(strCurTime)) {
547. return strCurTime.compareTo(strDate);
548. }
549. return -1;
550. }
551. /\**
552. * 为查询日期添加最小时间
553. \*
554. * @param 目标类型Date
555. * @param 转换参数Date
556. * @return
557. \*/
558. @SuppressWarnings("deprecation")
559. public static Date addStartTime(Date param) {
560. Date date = param;
561. try {
562. date.setHours(0);
563. date.setMinutes(0);
564. date.setSeconds(0);
565. return date;
566. } catch (Exception ex) {
567. return date;
568. }
569. }
570. /\**
571. * 为查询日期添加最大时间
572. \*
573. * @param 目标类型Date
574. * @param 转换参数Date
575. * @return
576. \*/
577. @SuppressWarnings("deprecation")
578. public static Date addEndTime(Date param) {
579. Date date = param;
580. try {
581. date.setHours(23);
582. date.setMinutes(59);
583. date.setSeconds(0);
584. return date;
585. } catch (Exception ex) {
586. return date;
587. }
588. }
589. /\**
590. * 返回系统现在年份中指定月份的天数
591. \*
592. * @param 月份month
593. * @return 指定月的总天数
594. \*/
595. @SuppressWarnings("deprecation")
596. public static String getMonthLastDay(int month) {
597. Date date = new Date();
598. int\[]\[] day = { { 0, 30, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 },
599. { 0, 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 } };
600. int year = date.getYear() + 1900;
601. if (year % 4 == 0 && year % 100 != 0 || year % 400 == 0) {
602. return day\[1]\[month] + "";
603. } else {
604. return day\[0]\[month] + "";
605. }
606. }
607. /\**
608. * 返回指定年份中指定月份的天数
609. \*
610. * @param 年份year
611. * @param 月份month
612. * @return 指定月的总天数
613. \*/
614. public static String getMonthLastDay(int year, int month) {
615. int\[]\[] day = { { 0, 30, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 },
616. { 0, 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 } };
617. if (year % 4 == 0 && year % 100 != 0 || year % 400 == 0) {
618. return day\[1]\[month] + "";
619. } else {
620. return day\[0]\[month] + "";
621. }
622. }
623. /\**
624. * 判断是平年还是闰年
625. * @author dylan\_xu
626. * @date Mar 11, 2012
627. * @param year
628. * @return
629. \*/
630. public static boolean isLeapyear(int year) {
631. if ((year % 4 == 0 && year % 100 != 0) || (year % 400) == 0) {
632. return true;
633. } else {
634. return false;
635. }
636. }
637. /\**
638. * 取得当前时间的日戳
639. * @author dylan\_xu
640. * @date Mar 11, 2012
641. * @return
642. \*/
643. @SuppressWarnings("deprecation")
644. public static String getTimestamp() {
645. Date date = cale.getTime();
646. String timestamp = "" + (date.getYear() + 1900) + date.getMonth()
647. + date.getDate() + date.getMinutes() + date.getSeconds()
648. + date.getTime();
649. return timestamp;
650. }
651. /\**
652. * 取得指定时间的日戳
653. \*
654. * @return
655. \*/
656. @SuppressWarnings("deprecation")
657. public static String getTimestamp(Date date) {
658. String timestamp = "" + (date.getYear() + 1900) + date.getMonth()
659. + date.getDate() + date.getMinutes() + date.getSeconds()
660. + date.getTime();
661. return timestamp;
662. }
663. public static void main(String\[] args) {
664. System.out.println(getYear() + "|" + getMonth() + "|" + getDate());
665. }
666. }

 

**附上100%完整的系统项目源码：**

JSP图书馆管理系统：[http://blog.sina.com.cn/s/blog\_4b5bc0110101a97e.html](http://blog.sina.com.cn/s/blog_4b5bc0110101a97e.html)

 

JSP酒店宾馆管理系统：[http://blog.sina.com.cn/s/blog\_4b5bc0110101a97m.html](http://blog.sina.com.cn/s/blog_4b5bc0110101a97m.html)

 

JSP学生信息管理系统：[http://blog.sina.com.cn/s/blog\_4b5bc0110101a97r](http://blog.sina.com.cn/s/blog_4b5bc0110101a97r.html)[.html](http://blog.sina.com.cn/s/blog_4b5bc0110101a97r.html)

 

 

JSP房屋出售租赁管理系统：[http://blog.sina.com.cn/s/blog\_4b5bc0110101a98c.html](http://blog.sina.com.cn/s/blog_4b5bc0110101a98c.html)

 

J2EE酒店在线预订系统：[http://blog.sina.com.cn/s/blog\_4b5bc0110101a97v.html](http://blog.sina.com.cn/s/blog_4b5bc0110101a97v.html)

 

SSH/J2EE人力资源管理系统：[http://blog.sina.com.cn/s/blog\_4b5bc01101019ztu.html](http://blog.sina.com.cn/s/blog_4b5bc01101019ztu.html)

 

ssh2图书管理系统（图书馆管理系统）： [http://blog.sina.com.cn/s/blog\_4b5bc0110101adf0.html](http://blog.sina.com.cn/s/blog_4b5bc0110101adf0.html)

 

毕业设计-JSP图书馆管理系统：[http://blog.sina.com.cn/s/blog\_4b5bc0110101a979.html](http://blog.sina.com.cn/s/blog_4b5bc0110101a979.html)

 

毕业设计-JSP酒店宾馆管理系统：[http://blog.sina.com.cn/s/blog\_4b5bc0110101a97z.html](http://blog.sina.com.cn/s/blog_4b5bc0110101a97z.html)

 

毕业设计-JSP学生信息管理系统：[http://blog.sina.com.cn/s/blog\_4b5bc0110101a987.html](http://blog.sina.com.cn/s/blog_4b5bc0110101a987.html)

 

毕业设计-JSP房屋出售租赁管理系统：[http://blog.sina.com.cn/s/blog\_4b5bc0110101a98a.](http://blog.sina.com.cn/s/blog_4b5bc0110101a98a.html)[html](http://blog.sina.com.cn/s/blog_4b5bc0110101a98a.html)

 

毕业设计-s2sh/j2ee图书管理系统 :[http://blog.sina.com.cn/s/blog\_4b5bc0110101ain5.html](http://blog.sina.com.cn/s/blog_4b5bc0110101ain5.html)

 

ssh2图书管理系统（图书馆管理系统）:[http://blog.sina.com.cn/s/blog\_4b5bc0110101adf0.html](http://blog.sina.com.cn/s/blog_4b5bc0110101adf0.html)

 

毕业设计-jsp信息发布系统(信息供求网站系统):[http://blog.sina.com.cn/s/blog\_4b5bc0110101aiou.html](http://blog.sina.com.cn/s/blog_4b5bc0110101aiou.html)

 

struts2+servlet+jsp信息发布系统:[http://blog.sina.com.cn/s/blog\_4b5bc0110101aiop.html](http://blog.sina.com.cn/s/blog_4b5bc0110101aiop.html)

 

毕业设计-jsp电子商城 网上商城系统:[http://blog.sina.com.cn/s/blog\_4b5bc0110101aiof.html](http://blog.sina.com.cn/s/blog_4b5bc0110101aiof.html)

 

jsp电子商城 网上商城系统(struts+servlet+jsp):[http://blog.sina.com.cn/s/blog\_4b5bc0110101aio9.html](http://blog.sina.com.cn/s/blog_4b5bc0110101aio9.html)

 

毕业设计-图书管理系统 jsp图书馆系统Struts2+Spring+Ibatis+extjs(ssi):

[http://blog.sina.com.cn/s/blog\_4b5bc0110101ainu.html](http://blog.sina.com.cn/s/blog_4b5bc0110101ainu.html)

 

Struts2+Spring+Ibatis+extjs(ssi)图书管理系统 jsp图书馆系统:

[http://blog.sina.com.cn/s/blog\_4b5bc0110101ainh.html](http://blog.sina.com.cn/s/blog_4b5bc0110101ainh.html)

 

ssh2图书管理系统（图书馆管理系统）:[http://blog.sina.com.cn/s/blog\_4b5bc0110101adf0.html](http://blog.sina.com.cn/s/blog_4b5bc0110101adf0.html)

 

毕业设计-s2sh/j2ee图书管理系统 struts2+spring+hibernate:

[http://blog.sina.com.cn/s/blog\_4b5bc0110101ain5.html](http://blog.sina.com.cn/s/blog_4b5bc0110101ain5.html)

 

 jsp酒店在线预订系统 酒店客房预定系统:[http://blog.sina.com.cn/s/blog\_4b5bc0110101atb8.html](http://blog.sina.com.cn/s/blog_4b5bc0110101atb8.html)

 

毕业设计 jsp酒店在线预订系统 酒店客房预定系统:[http://blog.sina.com.cn/s/blog\_4b5bc0110101atbb.html](http://blog.sina.com.cn/s/blog_4b5bc0110101atbb.html)

 

人力资源管理系统 S2SH/J2EE/JAVA:[http://blog.sina.com.cn/s/blog\_4b5bc0110101azoz.html](http://blog.sina.com.cn/s/blog_4b5bc0110101azoz.html)

 

毕业设计-人力资源管理系统 S2SH/J2EE/JSP:[http://blog.sina.com.cn/s/blog\_4b5bc0110101azp0.html](http://blog.sina.com.cn/s/blog_4b5bc0110101azp0.html)

 

ssh网上商城 电子商城struts hibernate  :[http://blog.sina.com.cn/s/blog\_4b5bc0110101b5gr.html](http://blog.sina.com.cn/s/blog_4b5bc0110101b5gr.html)

 

毕业设计 ssh网上商城 电子商城struts hibernate:[http://blog.sina.com.cn/s/blog\_4b5bc0110101b5h2.html](http://blog.sina.com.cn/s/blog_4b5bc0110101b5h2.html)

 

毕业设计 ssh电子相册管理系统：[http://blog.sina.com.cn/s/blog\_4b5bc0110101bkbl.html](http://blog.sina.com.cn/s/blog_4b5bc0110101bkbl.html)

 

实用技术：

J2EE/JSP应用技术70实例(源码)(实用)： [http://blog.sina.com.cn/s/blog\_4b5bc0110101acms.html](http://blog.sina.com.cn/s/blog_4b5bc0110101acms.html)