- 使用datepicker和uploadify的冲突解决(IE双击才能打开附件上传对话框)
zhanglb12
在开发的过程当中,IE的兼容无疑是我们的一块绊脚石,在我们使用的如期的datepicker插件和使用上传附件的uploadify插件的时候,两者就产生冲突,只要点击过时间的插件,uploadify上传框要双才能打开ie浏览器提示错误Missinginstancedataforthisdatepicker解决方案//if(.browser.msie&&'9.0'===.browser.version
- 7、jQuery插件之uploadify文件上传(基于flash)
sensus森森
jQueryflash上传插件
Uploadify上传文件body{font:13pxArial,Helvetica,Sans-serif;}UploadifyDemo$(function(){$('#file_upload').uploadify({'formData':{'timestamp':'','token':''},'swf':'uploadify.swf',//该文件必须有的'uploader':'uploadif
- uploadify多文件上传插件的使用帮助
nuc_八道门
前端开发jquery插件
uploadify使用帮助:官网下载uploadify插件http://www.uploadify.com/download插件要求环境:1)jQuery1.4.x以上2)FlashPlayer9.0.24以上(新版Chrome不支持)解压后文件列表1)jquery.uploadify.min.js2)uploadify.php3)uploadify.swf4)uploadify.css5)upl
- H5单张、多张图片上传
weixin_30263277
前端javascript后端ViewUI
前言今天我们聊一聊图片上传,单张Or多张,如今,各大图片上传插件数不胜数,例如:Jquery的verupload.js,jQueryFileUpload、Uploadify、jQuery.filter等等。But。上面说到的这些插件,今天我们不谈,我们来看一看使用HTML5中的FileReader如何实现图片的单张及多张预览、删除、上传等功能。先看下实现后的效果如下:实现前端部分这块是用户点击按钮
- php asp.net session,asp.net通过sessionid cookie获取session信息
随风涂梅明
phpasp.netsession
如何设置asp.netsessionid获取用户session信息,如使用了uploadify,swfupload等居于flash上传的控件,非ie浏览器flash不会传递sessionid的cookie值到服务器,会导致无法获取当前用户的session值,从而无法将图片和当前用户关联起来。解决办法就是通过get/post传递当前用户的SessionId到服务器(sessionid值也存储在coo
- Asp.Net无刷新上传并裁剪头像(用Jquery插件 Uploadify实现) 附完整源码
浪浪小白浪
开发网站几乎都做过上传图片并截图,做个无刷新Asp.Net上传并截图示例实现功能:1.选择文件,自动上传并生成缩放图(上传带进度条),形成预览图2.在预览区,实现鼠标拖拽截图区,截取图片(示例截图区按缩放图小边为截图正方形长度,可扩展为截图区可变形式)3.点击保存,截取小图,保存截取图并显示在页面上,并删除原缩略图示例截图:上传中上传成功并截图---------------------------
- 基于jquery的上传插件Uploadify的API中文说明及例题
web前端执行者
以下附上Uploadify部分参数的介绍:uploader:uploadify.swf文件的相对路径,该swf文件是一个带有文字BROWSE的按钮,点击后弹出打开文件对话框,默认值:uploadify.swf。script:后台处理程序的相对路径。默认值:uploadify.phpcheckScript:用来判断上传选择的文件在服务器是否存在的后台处理程序的相对路径fileDataName:设置一
- WEB 项目大文件上传下载解决方案
jianshu1212
需求:项目要支持大文件上传功能,经过讨论,初步将文件上传大小控制在500M内,因此自己需要在项目中进行文件上传部分的调整和配置,自己将大小都以501M来进行限制。第一步:前端修改由于项目使用的是BJUI前端框架,并没有使用框架本身的文件上传控件,而使用的基于jQuery的Uploadify文件上传组件,在项目使用的jslib项目中找到了BJUI框架集成jQueryUploadify的部分,这部分代
- Goby 漏洞发布|JeeSpringCloud uploadFile.jsp 文件上传漏洞
Gobysec
网络安全
漏洞名称:JeeSpringClouduploadFile.jsp文件上传漏洞EnglishName:JeeSpringClouduploadFile.jspfileuploadvulnerabilityCVSScore:9.8影响资产数:282漏洞描述:JeeSpringCloud是一款免费开源的Java互联网云快速开发平台。JeeSpringCloud访问/static/uploadify/u
- JavaScript大文件分片上传/多线程上传
jianshu1212
需求:项目要支持大文件上传功能,经过讨论,初步将文件上传大小控制在500M内,因此自己需要在项目中进行文件上传部分的调整和配置,自己将大小都以501M来进行限制。第一步:前端修改由于项目使用的是BJUI前端框架,并没有使用框架本身的文件上传控件,而使用的基于jQuery的Uploadify文件上传组件,在项目使用的jslib项目中找到了BJUI框架集成jQueryUploadify的部分,这部分代
- 泛微OA e-office平台uploadify.php任意文件上传漏洞
gaynell
漏洞复现phpweb安全安全系统安全网络安全
泛微OAe-office平台uploadify.php任意文件上传漏洞复现0x01前言免责声明:请勿利用文章内的相关技术从事非法测试,由于传播、利用此文所提供的信息或者工具而造成的任何直接或者间接的后果及损失,均由使用者本人负责,所产生的一切不良后果与文章作者无关。该文章仅供学习用途使用!!!0x02漏洞描述泛微e-office系统是标准、易用、快速部署上线的专业协同OA软件,国内协同OA办公领域
- uploadifive上传工具php版使用
阿酷tony
文章存档javascriptuploadifiveuploadifive上传uploadifive上传插件
uploadifive自带的DEMO文件。下载地址:http://www.uploadify.com/download/UploadiFiveTestbody{font:13pxArial,Helvetica,Sans-serif;}UploadifyDemo$(function(){$('#file_upload').uploadify({'formData':{'timestamp':'','
- Django从0到1用uploadify实现文件上传功能
西电大侠
本人环境DebianDjango1.11uploadify官网下载最新版。uploadify官网demo写的很简单。而且不是基于django的,所以可能要花些时间做些研究,我去网上搜了djangouploadify,发现介绍的都很简单,而且最关键的坑都没指出来。之前自己用过uploadify,成功过,后来过了很久再做,还是花了几个小时才配置成功,所以,这次一定要详细记录碰到的坑。直接上代码,有问题
- MetInfo 鸡肋getshell
索马里的乌贼
发布时间:2017-01-02公开时间:N/A漏洞类型:文件上传危害等级:高漏洞编号:xianzhi-2017-01-73318655测试版本:N/A漏洞详情app/system/include/module/uploadify.class.php65行publicfunctiondoupfile(){global$M;$this->upfile->set_upfile();$info['save
- uploadify多图片上传(html5版本)
William_Wei007
前端技术类
最近在做公司后台,关于项目发布的功能,需求中有多个图片上传的功能。故查询资料,开发整理如下(之前发过一版flash的,现在将html5整理如下,与之前那篇的差别就是插件参数的不同)。说明一下:在官网html5版本,是要收费的。首先下载相关的外部文件(js,css等)以及案例。1、地址:付费:http://www.uploadify.com/download/不付费:自己找,我是从http://ww
- 泛微 E-Office 任意文件上传漏洞 CVE-2023-2648(漏洞复现)
玖禁
学习漏洞复现安全
漏洞介绍:泛微E-Office9.5版本中文件上传处理程序接口uploadify.php参数Filedata的操作导致任意文件上传,攻击者可以通过远程控制接口上传恶意文件。漏洞级别:高危复现过程:抓个包,放入重放器,GET提交一下问题文件路径,返还回来空则为存在该漏洞换成exp,提交以下,获得上传完成后的路径注意一下:这里的cookie需要自己获取这里可以参照一下【漏洞预警】泛微E-Office命
- jquery.uploadify图片文件上传与显示
pmsyn
javajava图片上传uploadify
图片上传与显示本例子以jquery.uploadify+java+springMVC开发1、上传HTML页面2、在函数中设置上传参数3、将文件存储到数据库(此处使用springMvc)4、将数据库中上传图片文件显示到jsp页面1、上传HTML页面2、在函数中设置上传参数functionshowUploadImageDialog(){varsetting={'swf':curpath+'/resou
- 百度 flash html5自切换 多文件异步上传控件webuploader基本用法
lmrylll
html5javajavascript
双核浏览器下在chrome内核中使用uploadify总有302问题,也不知道如何修复,之所以喜欢360浏览器是因为帮客户控制渲染内核:若页面需默认用极速核,增加标签:若页面需默认用ie兼容内核,增加标签:若页面需默认用ie标准内核,增加标签:要解决302问题也很简单,就是html5的文件上传,正好最近在ueditor里看到百度的webuploader,会自动选择flashhtml5,就是一个成熟
- uploadifive + MissingServletRequestPartException: Required request part 'file_upload' is not present
走向自由
jqueryuploadifiveuploadifyspringbootthymeleaf
最近学习SpringBoot时,使用jqueryuploadify/uploadifive插件进行图片上传时碰到一坑,在此记录下。解决方案看最后。问题描述:页面使用普通form提交方式后台可以正确无误获得到图片,但是使用uploadify组件时则总是抛出异常:ResolvedexceptioncausedbyHandlerexecution:org.springframework.web.mult
- ASP.NET网盘管理系统源码
淘源码d
网盘asp.net
源码分享,需要源码学习可私信我。程序介绍:创建多级文件夹,上传文件,可进行删除,修改,排序,搜索等,并对uploadify上传控件进行了自定义美化,异步上传。多级文件夹:可在根目录中创建文件夹,双击文件夹即可进入下一级目录,可上传文件或新建目录下载:单击列表中的文件名称即可下载文件删除:支持多选删除或使用右键弹出菜单删除命令修改名称:右键文件夹或文件修改名称排序:可按照名称排序搜索:搜索文件名称中
- 前端怎么实现web端上传超大文件
jianshu1212
需求:项目要支持大文件上传功能,经过讨论,初步将文件上传大小控制在500M内,因此自己需要在项目中进行文件上传部分的调整和配置,自己将大小都以501M来进行限制。第一步:前端修改由于项目使用的是BJUI前端框架,并没有使用框架本身的文件上传控件,而使用的基于jQuery的Uploadify文件上传组件,在项目使用的jslib项目中找到了BJUI框架集成jQueryUploadify的部分,这部分代
- 在EasyUI项目中使用FileBox控件实现文件上传处理
伍华聪_开发框架
我在较早之前的随笔《基于MVC4+EasyUI的Web开发框架形成之旅--附件上传组件uploadify的使用》Web框架介绍中介绍了基于Uploadify的文件上传操作,免费版本用的是Jquery+Flash实现文件的上传处理,HTML5收费版本的没有试过。随着Flash逐渐退出整个环境,很多浏览器都可能不再支持Flash的了,因此在更新原有EasyUI整个框架的时候,我们对框架全面进行了完善,
- ThinkPHP 解决使用uploadify 在Firefox浏览器上传图片出现HTTP 500报错
whitecat
一、uploadify使用详解1.在html中的file标签可以用来上传文件,但是在文件较大或者多文件上传的时候,file标签就不太适合了。而uploadify插件是基于js的jquery库写的,结合ajax和flash,实现多文件上传功能。2.主要文件:jquery.uploadify.js(主要插件)jquery-1.7.2.min.js(jquery主件)uploadify.swf(flas
- laravel图片和文件的上传
小龙123
获取表单传来的图片有两种方式$file=$request::file('picfile');或者$request=$request::all();//注意先先取全,得到的是数组$file=$request['picfile'];1.前端页面{{----}}{{csrf_field()}}$(function(){$('#file_upload').uploadify({'buttonText':'
- shape文件上传与展示
lzugis
概述本文讲述如何在OL中结合GeoTools实现shp数据的上传与展示。流程shp上传展示流程图实现效果面线点使用技术jquery插件uploadify和ServletFileUpload实现shp文件的上传;ZipFile实现zip文件的解压;Geotools实现shp文件转换为geojson;openlayers4实现数据的展示。实现代码1、前端代码shp文件body,#map{margin:
- uploadify上传文件 Firefox HTTP IO 302 错误
dengqi0832520
jsp
困扰已久,今天终于解决了。直接上代码吧,functionupload(){$("#uploadify").uploadify({'auto':false,//选完文件后是否自动上传'swf':'/scripts/jquery/uploadify/uploadify.swf',//引入uploadify.swf'uploader':''+'/cls/clearsettle/upload.do;jse
- asp.net使用uploadify上传出现的IO Error问题
IT流渊
asp.net
解决方法:1、uploadify控件的自定义size必须调整大小,即属性:sizeLimit:'300000000000'//根据自己需要2、asp.net中webconfig用记事本打开,插在之间,“”maxRequestLength大小自己定义3、修改iis的配置文件打到%windir%/system32/inetsrv/config/applicationhost.config,用记事本打开
- Java解决火狐浏览器使用uploadify上传报错302以及报IO error错问题
码旺
兼容性
最近使用同时添加的上传控件uploadify,可以支持批量上传,但是控件是用Flash做的,在IE、360浏览器还好,但是在火狐浏览器出现了上传报错Httperror302,网上查询到是因为由于jqueryuploadify是借助flash来实现上传的,每一次向后台发送数据流请求时,ie会自动把本地cookie存储捆绑在一起发送给服务器。但firefox、chrome不会这样做,他们会认为这样不安
- .NET导入表格到数据库的方法
weixin_30794491
数据库javascript
HTMLa代码工资导入供应商导入线路导入线路列表JS代码,注意要导入:jquery.uploadify.min.js$("#GnExcel").uploadify({swf:'/Theme/NewBlueVacation/images/uploadify.swf',uploader:'/HeadOffice/UploadExcel',successTimeout:100000,width:32,h
- Uploadfile 控件上传文件的使用方法(js+jsp+后台)
无韵之离骚
Uploadfile
Jquery.Uploadify是JQuery的一个上传插件,实现的效果非常不错,支持多文件上传、带进度显示。不过官方提供的实例时php版本的,本文将详细介绍Uploadify在js中的使用,您也可以点击下面的链接进行演示或下载。官方下载:http://www.uploadify.com/download/官方文档:http://www.uploadify.com/documentation/官方
- 关于旗正规则引擎下载页面需要弹窗保存到本地目录的问题
何必如此
jsp超链接文件下载窗口
生成下载页面是需要选择“录入提交页面”,生成之后默认的下载页面<a>标签超链接为:<a href="<%=root_stimage%>stimage/image.jsp?filename=<%=strfile234%>&attachname=<%=java.net.URLEncoder.encode(file234filesourc
- 【Spark九十八】Standalone Cluster Mode下的资源调度源代码分析
bit1129
cluster
在分析源代码之前,首先对Standalone Cluster Mode的资源调度有一个基本的认识:
首先,运行一个Application需要Driver进程和一组Executor进程。在Standalone Cluster Mode下,Driver和Executor都是在Master的监护下给Worker发消息创建(Driver进程和Executor进程都需要分配内存和CPU,这就需要Maste
- linux上独立安装部署spark
daizj
linux安装spark1.4部署
下面讲一下linux上安装spark,以 Standalone Mode 安装
1)首先安装JDK
下载JDK:jdk-7u79-linux-x64.tar.gz ,版本是1.7以上都行,解压 tar -zxvf jdk-7u79-linux-x64.tar.gz
然后配置 ~/.bashrc&nb
- Java 字节码之解析一
周凡杨
java字节码javap
一: Java 字节代码的组织形式
类文件 {
OxCAFEBABE ,小版本号,大版本号,常量池大小,常量池数组,访问控制标记,当前类信息,父类信息,实现的接口个数,实现的接口信息数组,域个数,域信息数组,方法个数,方法信息数组,属性个数,属性信息数组
}
&nbs
- java各种小工具代码
g21121
java
1.数组转换成List
import java.util.Arrays;
Arrays.asList(Object[] obj); 2.判断一个String型是否有值
import org.springframework.util.StringUtils;
if (StringUtils.hasText(str)) 3.判断一个List是否有值
import org.spring
- 加快FineReport报表设计的几个心得体会
老A不折腾
finereport
一、从远程服务器大批量取数进行表样设计时,最好按“列顺序”取一个“空的SQL语句”,这样可提高设计速度。否则每次设计时模板均要从远程读取数据,速度相当慢!!
二、找一个富文本编辑软件(如NOTEPAD+)编辑SQL语句,这样会很好地检查语法。有时候带参数较多检查语法复杂时,结合FineReport中生成的日志,再找一个第三方数据库访问软件(如PL/SQL)进行数据检索,可以很快定位语法错误。
- mysql linux启动与停止
墙头上一根草
如何启动/停止/重启MySQL一、启动方式1、使用 service 启动:service mysqld start2、使用 mysqld 脚本启动:/etc/inint.d/mysqld start3、使用 safe_mysqld 启动:safe_mysqld&二、停止1、使用 service 启动:service mysqld stop2、使用 mysqld 脚本启动:/etc/inin
- Spring中事务管理浅谈
aijuans
spring事务管理
Spring中事务管理浅谈
By Tony Jiang@2012-1-20 Spring中对事务的声明式管理
拿一个XML举例
[html]
view plain
copy
print
?
<?xml version="1.0" encoding="UTF-8"?>&nb
- php中隐形字符65279(utf-8的BOM头)问题
alxw4616
php中隐形字符65279(utf-8的BOM头)问题
今天遇到一个问题. php输出JSON 前端在解析时发生问题:parsererror.
调试:
1.仔细对比字符串发现字符串拼写正确.怀疑是 非打印字符的问题.
2.逐一将字符串还原为unicode编码. 发现在字符串头的位置出现了一个 65279的非打印字符.
 
- 调用对象是否需要传递对象(初学者一定要注意这个问题)
百合不是茶
对象的传递与调用技巧
类和对象的简单的复习,在做项目的过程中有时候不知道怎样来调用类创建的对象,简单的几个类可以看清楚,一般在项目中创建十几个类往往就不知道怎么来看
为了以后能够看清楚,现在来回顾一下类和对象的创建,对象的调用和传递(前面写过一篇)
类和对象的基础概念:
JAVA中万事万物都是类 类有字段(属性),方法,嵌套类和嵌套接
- JDK1.5 AtomicLong实例
bijian1013
javathreadjava多线程AtomicLong
JDK1.5 AtomicLong实例
类 AtomicLong
可以用原子方式更新的 long 值。有关原子变量属性的描述,请参阅 java.util.concurrent.atomic 包规范。AtomicLong 可用在应用程序中(如以原子方式增加的序列号),并且不能用于替换 Long。但是,此类确实扩展了 Number,允许那些处理基于数字类的工具和实用工具进行统一访问。
 
- 自定义的RPC的Java实现
bijian1013
javarpc
网上看到纯java实现的RPC,很不错。
RPC的全名Remote Process Call,即远程过程调用。使用RPC,可以像使用本地的程序一样使用远程服务器上的程序。下面是一个简单的RPC 调用实例,从中可以看到RPC如何
- 【RPC框架Hessian一】Hessian RPC Hello World
bit1129
Hello world
什么是Hessian
The Hessian binary web service protocol makes web services usable without requiring a large framework, and without learning yet another alphabet soup of protocols. Because it is a binary p
- 【Spark九十五】Spark Shell操作Spark SQL
bit1129
shell
在Spark Shell上,通过创建HiveContext可以直接进行Hive操作
1. 操作Hive中已存在的表
[hadoop@hadoop bin]$ ./spark-shell
Spark assembly has been built with Hive, including Datanucleus jars on classpath
Welcom
- F5 往header加入客户端的ip
ronin47
when HTTP_RESPONSE {if {[HTTP::is_redirect]}{ HTTP::header replace Location [string map {:port/ /} [HTTP::header value Location]]HTTP::header replace Lo
- java-61-在数组中,数字减去它右边(注意是右边)的数字得到一个数对之差. 求所有数对之差的最大值。例如在数组{2, 4, 1, 16, 7, 5,
bylijinnan
java
思路来自:
http://zhedahht.blog.163.com/blog/static/2541117420116135376632/
写了个java版的
public class GreatestLeftRightDiff {
/**
* Q61.在数组中,数字减去它右边(注意是右边)的数字得到一个数对之差。
* 求所有数对之差的最大值。例如在数组
- mongoDB 索引
开窍的石头
mongoDB索引
在这一节中我们讲讲在mongo中如何创建索引
得到当前查询的索引信息
db.user.find(_id:12).explain();
cursor: basicCoursor 指的是没有索引
&
- [硬件和系统]迎峰度夏
comsci
系统
从这几天的气温来看,今年夏天的高温天气可能会维持在一个比较长的时间内
所以,从现在开始准备渡过炎热的夏天。。。。
每间房屋要有一个落地电风扇,一个空调(空调的功率和房间的面积有密切的关系)
坐的,躺的地方要有凉垫,床上要有凉席
电脑的机箱
- 基于ThinkPHP开发的公司官网
cuiyadll
行业系统
后端基于ThinkPHP,前端基于jQuery和BootstrapCo.MZ 企业系统
轻量级企业网站管理系统
运行环境:PHP5.3+, MySQL5.0
系统预览
系统下载:http://www.tecmz.com
预览地址:http://co.tecmz.com
各种设备自适应
响应式的网站设计能够对用户产生友好度,并且对于
- Transaction and redelivery in JMS (JMS的事务和失败消息重发机制)
darrenzhu
jms事务承认MQacknowledge
JMS Message Delivery Reliability and Acknowledgement Patterns
http://wso2.com/library/articles/2013/01/jms-message-delivery-reliability-acknowledgement-patterns/
Transaction and redelivery in
- Centos添加硬盘完全教程
dcj3sjt126com
linuxcentoshardware
Linux的硬盘识别:
sda 表示第1块SCSI硬盘
hda 表示第1块IDE硬盘
scd0 表示第1个USB光驱
一般使用“fdisk -l”命
- yii2 restful web服务路由
dcj3sjt126com
PHPyii2
路由
随着资源和控制器类准备,您可以使用URL如 http://localhost/index.php?r=user/create访问资源,类似于你可以用正常的Web应用程序做法。
在实践中,你通常要用美观的URL并采取有优势的HTTP动词。 例如,请求POST /users意味着访问user/create动作。 这可以很容易地通过配置urlManager应用程序组件来完成 如下所示
- MongoDB查询(4)——游标和分页[八]
eksliang
mongodbMongoDB游标MongoDB深分页
转载请出自出处:http://eksliang.iteye.com/blog/2177567 一、游标
数据库使用游标返回find的执行结果。客户端对游标的实现通常能够对最终结果进行有效控制,从shell中定义一个游标非常简单,就是将查询结果分配给一个变量(用var声明的变量就是局部变量),便创建了一个游标,如下所示:
> var
- Activity的四种启动模式和onNewIntent()
gundumw100
android
Android中Activity启动模式详解
在Android中每个界面都是一个Activity,切换界面操作其实是多个不同Activity之间的实例化操作。在Android中Activity的启动模式决定了Activity的启动运行方式。
Android总Activity的启动模式分为四种:
Activity启动模式设置:
<acti
- 攻城狮送女友的CSS3生日蛋糕
ini
htmlWebhtml5csscss3
在线预览:http://keleyi.com/keleyi/phtml/html5/29.htm
代码如下:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>攻城狮送女友的CSS3生日蛋糕-柯乐义<
- 读源码学Servlet(1)GenericServlet 源码分析
jzinfo
tomcatWebservlet网络应用网络协议
Servlet API的核心就是javax.servlet.Servlet接口,所有的Servlet 类(抽象的或者自己写的)都必须实现这个接口。在Servlet接口中定义了5个方法,其中有3个方法是由Servlet 容器在Servlet的生命周期的不同阶段来调用的特定方法。
先看javax.servlet.servlet接口源码:
package
- JAVA进阶:VO(DTO)与PO(DAO)之间的转换
snoopy7713
javaVOHibernatepo
PO即 Persistence Object VO即 Value Object
VO和PO的主要区别在于: VO是独立的Java Object。 PO是由Hibernate纳入其实体容器(Entity Map)的对象,它代表了与数据库中某条记录对应的Hibernate实体,PO的变化在事务提交时将反应到实际数据库中。
实际上,这个VO被用作Data Transfer
- mongodb group by date 聚合查询日期 统计每天数据(信息量)
qiaolevip
每天进步一点点学习永无止境mongodb纵观千象
/* 1 */
{
"_id" : ObjectId("557ac1e2153c43c320393d9d"),
"msgType" : "text",
"sendTime" : ISODate("2015-06-12T11:26:26.000Z")
- java之18天 常用的类(一)
Luob.
MathDateSystemRuntimeRundom
System类
import java.util.Properties;
/**
* System:
* out:标准输出,默认是控制台
* in:标准输入,默认是键盘
*
* 描述系统的一些信息
* 获取系统的属性信息:Properties getProperties();
*
*
*
*/
public class Sy
- maven
wuai
maven
1、安装maven:解压缩、添加M2_HOME、添加环境变量path
2、创建maven_home文件夹,创建项目mvn_ch01,在其下面建立src、pom.xml,在src下面简历main、test、main下面建立java文件夹
3、编写类,在java文件夹下面依照类的包逐层创建文件夹,将此类放入最后一级文件夹
4、进入mvn_ch01
4.1、mvn compile ,执行后会在