上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 40 下一页
  2014年6月23日
摘要: Maven环境搭建:本地仓库+maven运行环境+构建项目1、搭建nexus 本地仓库1)拷贝jdk1.6和tomcat62)配置端口为8010 (端口自行定义,只要下面各处一致即可)3)复制nexus-2.1.2.war到tomcat/webapps下,改名为nexus.war (这样访问无需加后... 阅读全文
posted @ 2014-06-23 17:04 wf110 阅读(13286) 评论(0) 推荐(0) 编辑
摘要: 1 2 3 junit 4 junit 5 4.9 6 7 8 poi 9 poi10 3... 阅读全文
posted @ 2014-06-23 16:58 wf110 阅读(678) 评论(0) 推荐(0) 编辑
摘要: localhost:8080/yourWebLocation 访问前一个插件是映射项目路径成maven的格式后一个插件是映射访问网址所需要的东西 1 2 3 4 yourWebLocation 5 6 ${basedir}/src 7 ... 阅读全文
posted @ 2014-06-23 16:57 wf110 阅读(587) 评论(0) 推荐(0) 编辑
摘要: pwd 显示当前路径cd 切换目录 . .. ~ls 显示文件(夹) -l 显示详细信息 -a 显示全部,包括隐藏文件(夹)mkdir 创建文件夹 -p 递归创建touch 创建空白文件echo cat、tac、more、tail 查看文本内容rmdir 删除空白文件夹rm -f 强... 阅读全文
posted @ 2014-06-23 15:28 wf110 阅读(337) 评论(0) 推荐(0) 编辑
摘要: pom.xml中加入以下 配置发布路径 1 2 3 HelloWeb 4 5 6 org.codehaus.cargo 7 cargo-maven2-plugin 8 ... 阅读全文
posted @ 2014-06-23 10:06 wf110 阅读(2642) 评论(0) 推荐(0) 编辑
  2014年6月21日
摘要: @Resourse(name=" xxx") 意味从上下文找xxx名字一样的然后引入@Repository("personDao") 意味生成一个 bean 以便于让其他高业务层的去找这个 的beanspring.xml新加入 xmlns:context="http://www.springfra... 阅读全文
posted @ 2014-06-21 23:19 wf110 阅读(368) 评论(0) 推荐(0) 编辑
摘要: 右键项目->properties 然后 搜索 web 出现 Web Project Settings 右边看见 Context root 改成你希望的名字。然后重启elipse 阅读全文
posted @ 2014-06-21 21:39 wf110 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 jdbc.properties 1 jdb... 阅读全文
posted @ 2014-06-21 21:17 wf110 阅读(1454) 评论(0) 推荐(0) 编辑
摘要: 1.引入jar包com.springsource.javax.validation-1.0.0.GA.jar 规范(只是定义)hibernate-validator-4.1.0.Final.jar 厂商实现log4j.jarslf4j-api-1.5.8.jarslf4j-log4j12.jar2.... 阅读全文
posted @ 2014-06-21 21:07 wf110 阅读(1182) 评论(0) 推荐(0) 编辑
摘要: 1.加入jar包:commons-fileupload-1.2.2.jarcommons-io-2.0.1.jarlperson.java中加属性,实现get ,set方法private String photoPath;2.创建WebRoot/upload目录,存放上传的文件1 5 6 ... 阅读全文
posted @ 2014-06-21 20:51 wf110 阅读(15516) 评论(0) 推荐(0) 编辑
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 40 下一页