资源简介
ExtJS4MutiUpload.rar
代码片段和文件信息
package web;
import java.io.File;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts2.ServletActionContext;
import com.opensymphony.xwork2.ActionSupport;
/**
* 2013.03.15
* @author houniaofei
* @qq:164335636
*
*/
public class UploadAction extends ActionSupport {
private File Filedata;
private String FiledataFileName;
private String FiledataContentType;
//前台用户修改后的文件名
private String newFileName;
public File getFiledata() {
return Filedata;
}
public String getFiledataFileName() {
return FiledataFileName;
}
public String getFiledataContentType() {
return FiledataContentType;
}
public void setFiledata(File filedata) {
Filedata = filedata;
}
public void setFiledataFileName(String filedataFileName) {
FiledataFileName = filedataFileName;
}
public void setFiledataContentType(String filedataContentType) {
FiledataContentType = filedataContentType;
}
@Override
public String execute() throws Exception {
System.out.println(FiledataFileName +“-------------“+newFileName);
HttpServletResponse response = ServletActionContext.getResponse();
response.setCharacterEncoding(“UTF-8“);
response.setContentType(“text/xml;charset=utf-8“);
response.getWriter().write(“{success:true}“);
return null;
}
public String getNewFileName() {
return newFileName;
}
public void setNewFileName(String newFileName) {
this.newFileName = newFileName;
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1178 2014-06-21 21:44 ExtJS4MutiUpload\.classpath
文件 322 2014-06-23 08:40 ExtJS4MutiUpload\.myme
文件 66 2013-03-14 14:21 ExtJS4MutiUpload\.myumldata
文件 1422 2014-06-23 08:39 ExtJS4MutiUpload\.project
文件 500 2013-03-14 14:11 ExtJS4MutiUpload\.settings\.jsdtscope
文件 1040 2014-06-23 08:39 ExtJS4MutiUpload\.settings\com.genuitec.eclipse.j2eedt.core.prefs
文件 155 2014-06-21 21:50 ExtJS4MutiUpload\.settings\org.eclipse.core.resources.prefs
文件 330 2013-03-02 17:37 ExtJS4MutiUpload\.settings\org.eclipse.jdt.core.prefs
文件 49 2013-03-14 14:54 ExtJS4MutiUpload\.settings\org.eclipse.wst.jsdt.ui.superType.container
文件 6 2013-03-14 14:54 ExtJS4MutiUpload\.settings\org.eclipse.wst.jsdt.ui.superType.name
文件 525 2014-06-21 21:53 ExtJS4MutiUpload\src\struts.xm
文件 1546 2013-03-15 11:34 ExtJS4MutiUpload\src\web\UploadAction.java
文件 1289687 2013-03-01 13:07 ExtJS4MutiUpload\WebRoot\ext\ext-all.js
文件 235836 2013-03-01 13:03 ExtJS4MutiUpload\WebRoot\ext\resources\css\ext-all-gray.css
文件 245426 2013-03-01 13:03 ExtJS4MutiUpload\WebRoot\ext\resources\css\ext-all.css
文件 2869 2013-03-01 13:03 ExtJS4MutiUpload\WebRoot\ext\resources\themes\images\default\boundlist\trigger-arrow.png
文件 1010 2013-03-01 13:03 ExtJS4MutiUpload\WebRoot\ext\resources\themes\images\default\box\corners-blue.gif
文件 1005 2013-03-01 13:03 ExtJS4MutiUpload\WebRoot\ext\resources\themes\images\default\box\corners.gif
文件 810 2013-03-01 13:03 ExtJS4MutiUpload\WebRoot\ext\resources\themes\images\default\box\l-blue.gif
文件 810 2013-03-01 13:03 ExtJS4MutiUpload\WebRoot\ext\resources\themes\images\default\box\l.gif
文件 810 2013-03-01 13:03 ExtJS4MutiUpload\WebRoot\ext\resources\themes\images\default\box\r-blue.gif
文件 810 2013-03-01 13:03 ExtJS4MutiUpload\WebRoot\ext\resources\themes\images\default\box\r.gif
文件 851 2013-03-01 13:03 ExtJS4MutiUpload\WebRoot\ext\resources\themes\images\default\box\tb-blue.gif
文件 839 2013-03-01 13:03 ExtJS4MutiUpload\WebRoot\ext\resources\themes\images\default\box\tb.gif
文件 1825 2013-03-01 13:03 ExtJS4MutiUpload\WebRoot\ext\resources\themes\images\default\btn\btn-default-large-bg.gif
文件 1616 2013-03-01 13:03 ExtJS4MutiUpload\WebRoot\ext\resources\themes\images\default\btn\btn-default-large-corners.gif
文件 1825 2013-03-01 13:03 ExtJS4MutiUpload\WebRoot\ext\resources\themes\images\default\btn\btn-default-large-disabled-bg.gif
文件 1614 2013-03-01 13:03 ExtJS4MutiUpload\WebRoot\ext\resources\themes\images\default\btn\btn-default-large-disabled-corners.gif
文件 1923 2013-03-01 13:03 ExtJS4MutiUpload\WebRoot\ext\resources\themes\images\default\btn\btn-default-large-disabled-sides.gif
文件 1840 2013-03-01 13:03 ExtJS4MutiUpload\WebRoot\ext\resources\themes\images\default\btn\btn-default-large-focus-bg.gif
............此处省略433个文件信息
相关资源
- 1__窗口内第一个三角形.zip
- jst090503_1267872.zip
- Karel.rar
- PLC通讯与接口.pdf
- 易学C.zip
- Springlive中文版.pdf
- programming_in_scala_3rd.pdf.zip
- TC_wincmd.zip
- SIM800L_硬件设计手册_V1.1.pdf
- 孟小峰-基于位置服务中的隐私保护
- Notepad.zip
- 图像风格迁移.zip
- SVM分类算法.zip
- ak97k0.xls
- JsonParserValue.rar
- joyding23_1552387.zip
- 2001第五届全国大学生电子设计竞赛获
- IntroductiontoRoboticsMechanicsandControl机器人
- smzy_CoolTerm.zip
- MTK_6735_pcb_sch.zip
- h265协议.zip
- 美萍培训班管理系统标准版v3.4.rar
- .rar100904
- 01.rar
- CRC.zip
- STM32_ucos.rar
- AtomicAlpha.zip
- 4696670丝印方向及位置调整SKILL程序.
- 读取串口数据并画实时曲线成功改4
- MyElectCourse.rar
评论
共有 条评论