• 大小: 4.26M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-09-16
  • 语言: 其他
  • 标签: 其他  

资源简介

layui-springmvc-imgupload.zip

资源截图

代码片段和文件信息

package csdn.liuxuquan.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class GoodsController {

@ResponseBody
@RequestMapping(value=“saveGoods“method=RequestMethod.POST)
private String saveImgInfo(String titleString smallTitString imgUrls){
System.out.println(title);
System.out.println(smallTit);
System.out.println(imgUrls);
String[] urls = imgUrls.split(““);
for (int i = 0; i < urls.length; i++) {
System.out.println(“图片名称:“+urls[i]);
}
return “1“;
}
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-03-18 12:08  layui-springmvc-imgupload\
     文件        1515  2018-03-17 16:45  layui-springmvc-imgupload\.classpath
     文件        1234  2018-03-17 15:56  layui-springmvc-imgupload\.project
     目录           0  2018-03-17 15:56  layui-springmvc-imgupload\.settings\
     文件         639  2018-03-17 15:47  layui-springmvc-imgupload\.settings\.jsdtscope
     文件          93  2018-03-17 16:41  layui-springmvc-imgupload\.settings\org.eclipse.core.resources.prefs
     文件         430  2018-03-17 15:47  layui-springmvc-imgupload\.settings\org.eclipse.jdt.core.prefs
     文件          90  2018-03-17 15:47  layui-springmvc-imgupload\.settings\org.eclipse.m2e.core.prefs
     文件         716  2018-03-17 16:07  layui-springmvc-imgupload\.settings\org.eclipse.wst.common.component
     文件         252  2018-03-17 15:47  layui-springmvc-imgupload\.settings\org.eclipse.wst.common.project.facet.core.xml
     文件          49  2018-03-17 15:47  layui-springmvc-imgupload\.settings\org.eclipse.wst.jsdt.ui.superType.container
     文件           6  2018-03-17 15:47  layui-springmvc-imgupload\.settings\org.eclipse.wst.jsdt.ui.superType.name
     文件          50  2018-03-17 15:47  layui-springmvc-imgupload\.settings\org.eclipse.wst.validation.prefs
     文件       28369  2018-03-18 02:59  layui-springmvc-imgupload\hs_err_pid10984.log
     文件        4834  2018-03-17 19:59  layui-springmvc-imgupload\pom.xml
     文件      417780  2018-03-18 02:59  layui-springmvc-imgupload\replay_pid10984.log
     目录           0  2018-03-17 15:47  layui-springmvc-imgupload\src\
     目录           0  2018-03-17 15:47  layui-springmvc-imgupload\src\main\
     目录           0  2018-03-17 16:27  layui-springmvc-imgupload\src\main\java\
     目录           0  2018-03-17 16:27  layui-springmvc-imgupload\src\main\java\csdn\
     目录           0  2018-03-17 19:41  layui-springmvc-imgupload\src\main\java\csdn\liuxuquan\
     目录           0  2018-03-18 11:48  layui-springmvc-imgupload\src\main\java\csdn\liuxuquan\controller\
     文件         736  2018-03-18 12:33  layui-springmvc-imgupload\src\main\java\csdn\liuxuquan\controller\GoodsController.java
     文件        2134  2018-03-18 12:31  layui-springmvc-imgupload\src\main\java\csdn\liuxuquan\controller\ImgUploadController.java
     目录           0  2018-03-17 19:39  layui-springmvc-imgupload\src\main\java\csdn\liuxuquan\pojo\
     文件        1582  2018-03-18 12:31  layui-springmvc-imgupload\src\main\java\csdn\liuxuquan\pojo\ImgResult.java
     目录           0  2018-03-17 16:09  layui-springmvc-imgupload\src\main\resources\
     目录           0  2018-03-17 16:09  layui-springmvc-imgupload\src\main\resources\spring\
     文件        1657  2018-03-18 02:57  layui-springmvc-imgupload\src\main\resources\spring\springmvc.xml
     目录           0  2018-03-17 15:51  layui-springmvc-imgupload\src\main\webapp\
     文件        6453  2018-03-18 12:19  layui-springmvc-imgupload\src\main\webapp\index.jsp
............此处省略194个文件信息

评论

共有 条评论