摘要: 在项目pom.xml文件中添加Jetty运行配置 在pom.xml文件project节点下插入如下代码: 添加web.xml文件: 在【src】→【main】→【webapp】→【WEB-INF】文件夹下添加【web.xml】文件 web.xml文件中内容如下: 国际惯例—Hello,World!: 阅读全文
posted @ 2015-03-12 14:55 astrue 阅读(805) 评论(0) 推荐(0) 编辑
摘要: 前提条件: 已经安装好JDK 已经安装好Maven 已经安装好Eclipse 已经安装好Maven插件 在Eclipse中新建Maven项目 【File】→【New】→【Other...】 【Maven】→【Maven Project】→【Next >】 勾选【Create a simple pro 阅读全文
posted @ 2015-01-31 11:41 astrue 阅读(263) 评论(0) 推荐(0) 编辑
摘要: 在父工程的pom文件里,添加如下配置 整个文件夹的路径大致如下: 阅读全文
posted @ 2015-01-20 17:23 astrue 阅读(361) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-01-19 19:24 astrue 阅读(256) 评论(0) 推荐(0) 编辑
摘要: 1.编写扩展方法类 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CSharpCharacteric { /// <summary> /// 扩展方法类 阅读全文
posted @ 2015-01-19 19:23 astrue 阅读(607) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-01-19 19:22 astrue 阅读(1241) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-01-19 19:21 astrue 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-01-19 19:19 astrue 阅读(1045) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-01-19 19:18 astrue 阅读(9155) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-01-19 19:15 astrue 阅读(136) 评论(0) 推荐(0) 编辑