资源简介

java web前端上传文件到后台常用三种方式,包括from表单提交、ajax提交、FormData对象提交,框架采用Spring Boot。

资源截图

代码片段和文件信息

package com.example.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * spring boot 启动类
 */
@SpringBootApplication
public class DemoApplication {

public static void main(String[] args) {
SpringApplication.run(DemoApplication.class args);
}
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-06-30 11:39  demo\
     文件         268  2018-06-30 11:21  demo\.gitignore
     目录           0  2018-06-30 21:37  demo\.idea\
     目录           0  2018-06-30 11:26  demo\.idea\codestyles\
     文件         142  2018-06-30 11:26  demo\.idea\codestyles\codestyleConfig.xml
     文件         210  2018-06-30 11:26  demo\.idea\codestyles\Project.xml
     文件         633  2018-06-30 11:31  demo\.idea\compiler.xml
     文件         215  2018-06-30 11:31  demo\.idea\encodings.xml
     目录           0  2018-06-30 11:21  demo\.idea\inspectionProfiles\
     文件         262  2018-06-30 11:21  demo\.idea\inspectionProfiles\Project_Default.xml
     目录           0  2018-06-30 11:31  demo\.idea\libraries\
     文件         556  2018-06-30 11:31  demo\.idea\libraries\Maven__ch_qos_logback_logback_classic_1_2_3.xml
     文件         535  2018-06-30 11:31  demo\.idea\libraries\Maven__ch_qos_logback_logback_core_1_2_3.xml
     文件         510  2018-06-30 11:31  demo\.idea\libraries\Maven__com_fasterxml_classmate_1_3_4.xml
     文件         632  2018-06-30 11:31  demo\.idea\libraries\Maven__com_fasterxml_jackson_core_jackson_annotations_2_9_0.xml
     文件         583  2018-06-30 11:31  demo\.idea\libraries\Maven__com_fasterxml_jackson_core_jackson_core_2_9_6.xml
     文件         611  2018-06-30 11:31  demo\.idea\libraries\Maven__com_fasterxml_jackson_core_jackson_databind_2_9_6.xml
     文件         662  2018-06-30 11:31  demo\.idea\libraries\Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_9_6.xml
     文件         676  2018-06-30 11:31  demo\.idea\libraries\Maven__com_fasterxml_jackson_datatype_jackson_datatype_jsr310_2_9_6.xml
     文件         717  2018-06-30 11:31  demo\.idea\libraries\Maven__com_fasterxml_jackson_module_jackson_module_parameter_names_2_9_6.xml
     文件         534  2018-06-30 11:31  demo\.idea\libraries\Maven__com_jayway_jsonpath_json_path_2_4_0.xml
     文件         688  2018-06-30 11:31  demo\.idea\libraries\Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml
     文件         599  2018-06-30 11:31  demo\.idea\libraries\Maven__javax_annotation_javax_annotation_api_1_3_2.xml
     文件         599  2018-06-30 11:31  demo\.idea\libraries\Maven__javax_validation_validation_api_2_0_1_Final.xml
     文件         443  2018-06-30 11:31  demo\.idea\libraries\Maven__junit_junit_4_12.xml
     文件         524  2018-06-30 11:31  demo\.idea\libraries\Maven__net_bytebuddy_byte_buddy_1_7_11.xml
     文件         566  2018-06-30 11:31  demo\.idea\libraries\Maven__net_bytebuddy_byte_buddy_agent_1_7_11.xml
     文件         530  2018-06-30 11:31  demo\.idea\libraries\Maven__net_minidev_accessors_smart_1_2.xml
     文件         495  2018-06-30 11:31  demo\.idea\libraries\Maven__net_minidev_json_smart_2_3.xml
     文件         561  2018-06-30 11:31  demo\.idea\libraries\Maven__org_apache_logging_log4j_log4j_api_2_10_0.xml
     文件         596  2018-06-30 11:31  demo\.idea\libraries\Maven__org_apache_logging_log4j_log4j_to_slf4j_2_10_0.xml
............此处省略96个文件信息

评论

共有 条评论