資源簡介
jsp課程設計個人信息管理系統,里面有完整的代碼,能成功運行,只需要導入到eclipse(JavaEE)就行,還附有數據庫SQL文件,以及完整的課程設計報告。這個系統是struts2+JSP+java開發出來的,前臺跟后端分離。
用戶可以在系統中任意添加、修改、刪除個人數據,包括個人的基本信息、個人通訊錄、日程安排、個人文件管理等。
(1)登錄與注冊
系統的登錄和注冊功能。
(2)個人基本信息管理模塊
系統中對個人基本信息的管理包括:個人的姓名、性別、出生日期、民族、學歷、職稱、登錄名、密碼、電話、家庭住址等。
(3)用戶個人通訊錄模塊
系統的個人通訊錄保存了個人的通訊錄信息,包括自己聯系人的姓名、電話、郵箱、工作單位、地址、QQ等??梢宰杂商砑勇撓等说男畔?,查詢或刪除聯系人。
(4)日程安排模塊
日程模塊記錄自己的活動安排或者其它有關事項,如添加從某一時間到另一時間要做什么事,日程標題、內容、開始時間、結束時間??梢宰杂刹樵儯薷模瑒h除。
歡迎大家下載!
代碼片段和文件信息
package?dateTimeManager;
import?DBJavaBean.DB;
import?com.opensymphony.xwork2.ActionSupport;
import?java.sql.ResultSet;
import?java.text.SimpleDateFormat;
import?java.util.Date;
import?java.util.StringTokenizer;
import?javax.servlet.http.HttpServletRequest;
import?javax.swing.JOptionPane;
import?org.apache.struts2.interceptor.ServletRequestAware;
public?class?AddDayAction?extends?ActionSupport?implements?ServletRequestAware{
????private?String?year;
????private?String?month;
????private?String?day;
????private?String?thing;
????private?String?userName;
????private?String?date;
????private?ResultSet?rs=null;
????private?String?message=“ERROR“;
????private?HttpServletRequest?request;
????public?String?getYear()?{
????????return?year;
????}
????public?void?setYear(String?year)?{
????????this.year?=?year;
????}
????public?String?getMonth()?{
????????return?month;
????}
????public?void?setMonth(String?month)?{
????????this.month?=?month;
????}
????public?String?getDay()?{
????????return?day;
????}
????public?void?setDay(String?day)?{
????????this.day?=?day;
????}
????public?String?getThing()?{
????????return?thing;
????}
????public?void?setThing(String?thing)?{
????????this.thing?=?thing;
????}
????public?String?getTime(){
????????String?time=““;
????????SimpleDateFormat?ff=new?SimpleDateFormat(“yyyy-MM-dd“);
????????Date?d=new?Date();
????????time=ff.format(d);
????????return?time;
????}
????public?void?message(String?msg){
????????int?type=JOptionPane.YES_NO_CANCEL_OPTION;
????????String?title=“信息提示“;
????????JOptionPane.showMessageDialog(null?msg?title?type);
????}
????public?void?setServletRequest(HttpServletRequest?hsr)?{
????????request=hsr;
????}
????public?void?validate(){
????????String?mess=““;
????????boolean?Y=trueM=trueD=true;
????????boolean?DD=false;
????????String?time=getTime();
????????StringTokenizer?token=new?StringTokenizer(time“-“);
????????if(this.getYear()==null||this.getYear().length()==0){
????????????Y=false;
????????????mess=mess+“*年份“;
????????????addFieldError(“year““年份不允許為空!“);
????????}else?if(Integer.parseInt(“20“+this.getYear()) ????????????DD=true;
????????????addFieldError(“year““請正確填寫年份!“);
????????}
????????if(this.getMonth()==null||this.getMonth().length()==0){
????????????M=false;
????????????mess=mess+“*月份“;
????????????addFieldError(“month““月份不允許為空!“);
????????}else?if(this.getMonth().length()>2||Integer.parseInt(this.getMonth())<0||Integer.parseInt(this.getMonth())>12){
????????????DD=true;
????????????addFieldError(“month““請正確填寫月份!“);
????????}
????????if(this.getDay()==null||this.getDay().length()==0){
????????????D=false;
????????????mess=mess+“*日期“;
????????????addFieldError(“day““日期不允許為空!“);
????????}else?if(this.getDay().length()>2||Integer.parseInt(this.getDay())<0||Integer.parseInt(this.getDay())>31){
????????????DD=true;
????????????ad
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2017-12-05?17:14??jsp課程設計\
?????目錄???????????0??2017-12-05?16:50??jsp課程設計\system\
?????文件????????1988??2017-11-26?17:30??jsp課程設計\system\.classpath
?????文件????????1039??2017-11-26?17:29??jsp課程設計\system\.project
?????目錄???????????0??2017-12-05?16:50??jsp課程設計\system\.settings\
?????文件?????????503??2017-11-26?17:29??jsp課程設計\system\.settings\.jsdtscope
?????文件?????????122??2017-11-29?00:22??jsp課程設計\system\.settings\org.eclipse.core.resources.prefs
?????文件?????????364??2017-11-26?17:29??jsp課程設計\system\.settings\org.eclipse.jdt.core.prefs
?????文件?????????472??2017-11-26?17:29??jsp課程設計\system\.settings\org.eclipse.wst.common.component
?????文件?????????345??2017-11-26?17:29??jsp課程設計\system\.settings\org.eclipse.wst.common.project.facet.core.xm
?????文件??????????49??2017-11-26?17:29??jsp課程設計\system\.settings\org.eclipse.wst.jsdt.ui.superType.container
?????文件???????????6??2017-11-26?17:29??jsp課程設計\system\.settings\org.eclipse.wst.jsdt.ui.superType.name
?????目錄???????????0??2017-12-05?16:50??jsp課程設計\system\WebContent\
?????文件?????????665??2017-12-03?20:20??jsp課程設計\system\WebContent\.project
?????目錄???????????0??2017-12-05?16:50??jsp課程設計\system\WebContent\me
?????文件??????????36??2017-11-26?16:49??jsp課程設計\system\WebContent\me
?????目錄???????????0??2017-12-05?16:50??jsp課程設計\system\WebContent\WEB-INF\
?????目錄???????????0??2017-12-05?16:50??jsp課程設計\system\WebContent\WEB-INF\lib\
?????文件???????43578??2017-11-26?16:50??jsp課程設計\system\WebContent\WEB-INF\lib\asm-3.3.jar
?????文件???????38275??2017-11-26?16:50??jsp課程設計\system\WebContent\WEB-INF\lib\asm-commons-3.3.jar
?????文件???????21503??2017-11-26?16:50??jsp課程設計\system\WebContent\WEB-INF\lib\asm-tree-3.3.jar
?????文件???????69002??2017-11-26?16:50??jsp課程設計\system\WebContent\WEB-INF\lib\commons-fileupload-1.3.1.jar
?????文件??????173587??2017-11-26?16:50??jsp課程設計\system\WebContent\WEB-INF\lib\commons-io-2.2.jar
?????文件??????384767??2017-11-26?16:50??jsp課程設計\system\WebContent\WEB-INF\lib\commons-lang3-3.2.jar
?????文件?????1300487??2017-11-26?16:50??jsp課程設計\system\WebContent\WEB-INF\lib\freemarker-2.3.22.jar
?????文件??????614203??2017-11-26?16:50??jsp課程設計\system\WebContent\WEB-INF\lib\javassist-3.11.0.GA.jar
?????文件??????133518??2017-11-26?16:50??jsp課程設計\system\WebContent\WEB-INF\lib\log4j-api-2.2.jar
?????文件??????826732??2017-11-26?16:50??jsp課程設計\system\WebContent\WEB-INF\lib\log4j-core-2.2.jar
?????文件??????709922??2017-11-26?16:51??jsp課程設計\system\WebContent\WEB-INF\lib\mysql-connector-java-5.1.7-bin.jar
?????文件??????227997??2017-11-26?16:50??jsp課程設計\system\WebContent\WEB-INF\lib\ognl-3.0.6.jar
?????文件??????831973??2017-11-26?16:50??jsp課程設計\system\WebContent\WEB-INF\lib\struts2-core-2.3.24.jar
............此處省略151個文件信息
- 上一篇:網上租車系統
- 下一篇:Apache Commons官網下的jar包
評論
共有 條評論