资源简介
这是一套完整的struts2框架web项目
代码片段和文件信息
package action;
import service.CustomerServi;
import com.opensymphony.xwork2.ActionSupport;
import dao.baseDao;
public class Amendyou extends ActionSupport
{
private String phone;
private String address;
private String username;
private String password;
private CustomerServi customerServi;
private baseDao baseDao;
public String getPhone()
{
return phone;
}
public void setPhone(String phone)
{
this.phone = phone;
}
public String getAddress()
{
return address;
}
public void setAddress(String address)
{
this.address = address;
}
public String getUsername()
{
return username;
}
public void setUsername(String username)
{
this.username = username;
}
public String getPassword()
{
return password;
}
public void setPassword(String password)
{
this.password = password;
}
@Override
public String execute() throws Exception
{
baseDao = new baseDao();
String sqlString = “update customer set password=?address=?phone=? where username=?“;
baseDao.update(sqlString passwordaddressphone“王峰“);
return SUCCESS;
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2013-06-07 14:17 food\
文件 622 2013-06-08 14:56 food\.classpath
目录 0 2013-06-07 14:15 food\.myeclipse\
文件 285 2013-06-07 14:15 food\.myme
文件 240 2013-06-07 14:17 food\.mystrutsdata
文件 1830 2013-06-07 14:21 food\.project
目录 0 2013-06-08 16:30 food\.settings\
文件 500 2013-06-07 14:15 food\.settings\.jsdtscope
文件 135 2013-06-08 16:48 food\.settings\org.eclipse.core.resources.prefs
文件 395 2013-06-07 14:15 food\.settings\org.eclipse.jdt.core.prefs
文件 137 2013-06-08 16:30 food\.settings\org.eclipse.ltk.core.refactoring.prefs
文件 450 2013-06-07 14:15 food\.settings\org.eclipse.wst.common.component
文件 252 2013-06-07 14:15 food\.settings\org.eclipse.wst.common.project.facet.core.xm
文件 49 2013-06-07 14:15 food\.settings\org.eclipse.wst.jsdt.ui.superType.container
文件 6 2013-06-07 14:15 food\.settings\org.eclipse.wst.jsdt.ui.superType.name
目录 0 2013-06-09 18:00 food\src\
目录 0 2013-06-14 11:52 food\src\action\
文件 1228 2013-06-09 20:21 food\src\action\Amendyou.java
文件 657 2013-06-08 16:04 food\src\action\ba
文件 1970 2013-06-09 17:44 food\src\action\BuyAction.java
文件 1952 2013-06-09 19:33 food\src\action\FillInfo.java
文件 1761 2013-06-09 00:30 food\src\action\InfoAction.java
文件 1820 2013-06-09 22:22 food\src\action\LoginAction.java
文件 2233 2013-06-09 17:33 food\src\action\Myshop.java
文件 1364 2013-06-08 20:20 food\src\action\Register.java
文件 595 2013-06-14 11:59 food\src\action\Release.java
文件 1449 2013-06-14 17:18 food\src\action\ShowAction.java
目录 0 2013-06-14 12:31 food\src\adminaction\
文件 2667 2013-06-14 16:26 food\src\adminaction\AddFood.java
文件 1380 2013-06-14 13:10 food\src\adminaction\Authority.java
文件 1249 2013-06-09 22:04 food\src\adminaction\DeleteOrder.java
............此处省略175个文件信息
评论
共有 条评论