WEB开发网
开发学院WEB开发Jsp struts构建文件上传(1) 阅读

struts构建文件上传(1)

 2008-01-05 09:23:48 来源:WEB开发网   
核心提示:struts构建文件上传(1) 这是第一个类,与表中的信息相对应(当然假如只是简单的文件上传可以不用这样麻烦,之所以这样作是因为传到数据库里轻易治理) package tester.business.maitain; public class Trainplan { PRivate int p

  struts构建文件上传(1)

这是第一个类,与表中的信息相对应(当然假如只是简单的文件上传可以不用这样麻烦,之所以这样作是因为传到数据库里轻易治理)

package tester.business.maitain;

public class Trainplan {
PRivate int p_id;
private String p_title;
private int post_index;
private String issue_time;
private String issuer;
private String p_content;
private String p_accessory;
public int getP_id() {
return p_id;
}

public void setP_id(int p_id) {
this.p_id = p_id;
}

public String getP_title() {
return p_title;
}

public void setP_title(String p_title) {
this.p_title = p_title;
}

public int getPost_index() {
return post_index;
}

public void setPost_index(int post_index) {
this.post_index = post_index;
}

public String getIssue_time() {
return issue_time;
}

public void setIssue_time(String issue_time) {
this.issue_time = issue_time;
}

public String getIssuer() {
return issuer;
}

public void setIssuer(String issue) {
this.issuer = issue;
}

public String getP_content() {
return p_content;
}

public void setP_content(String p_content) {
this.p_content = p_content;
}

public String getP_accessory() {
return p_accessory;
}

public void setP_accessory(String p_accessory) {
this.p_accessory = p_accessory;
}

} (未完待续)

Tags:struts 构建 文件

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接