摘要: http://www.iteye.com/news/30973 阅读全文
posted @ 2015-09-28 12:00 jmStatham 阅读(104) 评论(0) 推荐(0) 编辑
摘要: /etc/sysconfig/network-scripts/ifcfg-eth0的配置如下:E=eth0PROTO=static#IPADDR=10.1.1.138IPADDR=192.168.0.152NETMASK=255.255.255.0DNS1=114.114.114.114#GATEW... 阅读全文
posted @ 2015-09-18 21:55 jmStatham 阅读(189) 评论(0) 推荐(0) 编辑
摘要: MyEclipse 打开后有时候莫名的在server窗口里抛出“Could not create the view: An unexpected exception was thrown”错误,解决办法:打开myeclipse所在的wordspace文件夹,在下面子文件夹.metadata\.plu... 阅读全文
posted @ 2015-09-17 16:56 jmStatham 阅读(260) 评论(0) 推荐(0) 编辑
摘要: 当我们一个web项目,在myeclipse中,add deployment时,可能发现,根本无法被识别成web项目,可能的原因有: 1. 项目的properties ->Myeclipse ->project facets没有修改过来,从eclipse导入web项目,可能是这个原因。 2.项目的pr... 阅读全文
posted @ 2015-08-25 17:32 jmStatham 阅读(1911) 评论(0) 推荐(0) 编辑
摘要: 比如有个保存的方法// 保存public void save(){Transaction t = XXXSession s = getSession.beginTransaction();XXXs.save();XXX// 关闭sessionHibernateFactory.closeSession... 阅读全文
posted @ 2015-08-21 17:55 jmStatham 阅读(611) 评论(0) 推荐(0) 编辑
摘要: http://sourceforge.net/projects/springframework/files/springframework-2/ 阅读全文
posted @ 2015-07-26 09:05 jmStatham 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 本文主要介绍了,如何使用cxf内置的例子,学会开发webserivce,在web项目中使用,且包含spring支持。webserivce的开发可以使用cxf或者axis,好像还有httpclient等等。以前也多次研究过,上网搜过很多别人的例子来看,写过代码下来,但没有总结过,少废话,上干货。1. ... 阅读全文
posted @ 2015-07-24 17:59 jmStatham 阅读(664) 评论(0) 推荐(0) 编辑
摘要: [转自:http://haohaoxuexi.iteye.com/blog/2154299]首先我们为Spring Security专门建立一个Spring的配置文件,该文件就专门用来作为Spring Security的配置。使用Spring Security我们需要引入Spring Securit... 阅读全文
posted @ 2015-07-23 16:42 jmStatham 阅读(132) 评论(0) 推荐(0) 编辑
摘要: [转自:http://haohaoxuexi.iteye.com/blog/2154714]关于登录目录1.1form-login元素介绍1.1.1使用自定义登录页面1.1.2指定登录后的页面1.1.3指定登录失败后的页面1.2http-basic1.1form-login元素介绍 http元素下的... 阅读全文
posted @ 2015-07-23 16:32 jmStatham 阅读(184) 评论(0) 推荐(0) 编辑
摘要: 1. maven-resources-plugin prior to 2.4 is not supported by m2e. Use maven- resources-plugin versio在项目的pom.xml文件中插入以下代码即可: ... 阅读全文
posted @ 2015-07-23 10:33 jmStatham 阅读(422) 评论(0) 推荐(0) 编辑