一,文件上传三要素:
    1.表单提交方式:post (get方式提交有大小限制,post没有)
    2.表单的enctype属性:必须设置为multipart/form-data.
    3.表单必须有文件上传项:file

    二,action接收参数 提交地址(默认www. 文件上传的话要修改地址)
    private File titleImgFile; //文件
    private String titleImgFileFileName; //文件名=文件+FileName;
    private String titleImgFileContextType; //文件类型=文件+ContextType

    image.png