• 大小: 5.70M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-27
  • 语言: Java
  • 标签: 通讯录  

资源简介

通讯录项目,使用struts2,mvc框架,实现对数据库的增删改查,分页

资源截图

代码片段和文件信息

package com.baizhi.wfy.action;

import java.text.SimpleDateFormat;
import java.util.Date;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts2.ServletActionContext;

import com.baizhi.wfy.entity.Person;
import com.baizhi.wfy.service.PersonServiceImpl;
import com.opensymphony.xwork2.Action;

public class AddAction implements Action {

@Override
public String execute() throws Exception {

HttpServletRequest request = ServletActionContext.getRequest();

String name=request.getParameter(“name“);
String mobile=request.getParameter(“mobile“);

String email=request.getParameter(“email“);
String sex=request.getParameter(“sex“);
String addr=request.getParameter(“addr“);
String sqldate=request.getParameter(“birthday“);
S

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-10-08 20:29  TelbookV5.0\
     文件        1091  2019-09-18 18:59  TelbookV5.0\.classpath
     文件        1336  2019-10-08 17:34  TelbookV5.0\.project
     目录           0  2019-10-08 20:29  TelbookV5.0\.settings\
     文件         522  2019-09-18 18:59  TelbookV5.0\.settings\.jsdtscope
     文件         364  2019-09-18 18:59  TelbookV5.0\.settings\org.eclipse.jdt.core.prefs
     文件         492  2019-10-08 17:34  TelbookV5.0\.settings\org.eclipse.wst.common.component
     文件         412  2019-09-18 18:59  TelbookV5.0\.settings\org.eclipse.wst.common.project.facet.core.xml
     文件          49  2019-09-18 18:59  TelbookV5.0\.settings\org.eclipse.wst.jsdt.ui.superType.container
     文件           6  2019-09-18 18:59  TelbookV5.0\.settings\org.eclipse.wst.jsdt.ui.superType.name
     目录           0  2019-10-08 20:29  TelbookV5.0\src\
     目录           0  2019-10-08 20:29  TelbookV5.0\src\com\
     目录           0  2019-10-08 20:29  TelbookV5.0\src\com\baizhi\
     目录           0  2019-10-09 19:26  TelbookV5.0\src\com\baizhi\wfy\
     目录           0  2019-10-09 19:26  TelbookV5.0\src\com\baizhi\wfy\action\
     文件        1284  2019-10-08 19:34  TelbookV5.0\src\com\baizhi\wfy\action\AddAction.java
     文件         740  2019-10-08 19:44  TelbookV5.0\src\com\baizhi\wfy\action\DeleteAction.java
     文件         757  2019-10-08 19:49  TelbookV5.0\src\com\baizhi\wfy\action\FindAllAction.java
     文件        1064  2019-10-08 17:47  TelbookV5.0\src\com\baizhi\wfy\action\LoginAction.java
     文件         514  2019-10-08 19:31  TelbookV5.0\src\com\baizhi\wfy\action\LogoutAction.java
     文件         769  2019-10-08 19:55  TelbookV5.0\src\com\baizhi\wfy\action\ModifyQueryOneAction.java
     文件        1312  2019-10-08 19:57  TelbookV5.0\src\com\baizhi\wfy\action\ModifySaveAction.java
     文件        2663  2019-10-09 18:57  TelbookV5.0\src\com\baizhi\wfy\action\PersonAction.java
     文件         992  2019-10-08 20:05  TelbookV5.0\src\com\baizhi\wfy\action\QueryByPageAction.java
     文件         806  2019-10-08 20:12  TelbookV5.0\src\com\baizhi\wfy\action\SelectOneAction.java
     文件        1431  2019-10-09 18:56  TelbookV5.0\src\com\baizhi\wfy\action\UserAction.java
     目录           0  2019-10-08 20:29  TelbookV5.0\src\com\baizhi\wfy\conf\
     文件         106  2019-09-17 19:47  TelbookV5.0\src\com\baizhi\wfy\conf\db.properties
     目录           0  2019-10-08 20:29  TelbookV5.0\src\com\baizhi\wfy\dao\
     文件         500  2019-09-26 19:14  TelbookV5.0\src\com\baizhi\wfy\dao\PersonDao.java
     文件        6484  2019-09-26 19:27  TelbookV5.0\src\com\baizhi\wfy\dao\PersonDaoImpl.java
............此处省略98个文件信息

评论

共有 条评论