加入jar包 在web.xml中 --------------------------------------------------------------------------------------------------- 添加spring监听器 org.springframework.web.context.ContextLoaderListener 添加...
分类:
编程语言 时间:
2014-08-12 13:59:44
阅读次数:
339
用spring集成发布一个Webservice服务,老是报错:
java.lang.NoSuchMethodError: org.springframework.beans.factory.xml.XmlBeanDefinitionReader.setValidationMode(I)V
at org.apache.xbean.spring.context.v2.XBeanXmlBean...
分类:
编程语言 时间:
2014-08-12 13:42:54
阅读次数:
407
imageview一般情况下为矩形,如果需要现实为圆角或者圆形还需要进行一番处理,这里自定义了一个imageview,可以修改角度来显示圆角图片 1 import android.content.Context; 2 import android.graphics.Bitmap; 3 impo...
分类:
其他好文 时间:
2014-08-12 12:47:24
阅读次数:
263
public static void showProgress(Context context, String message) { proDialog = new ProgressDialog(context); proDialog.setMessage(message...
分类:
其他好文 时间:
2014-08-12 10:11:13
阅读次数:
188
1、在项目中添加下面的类: import org.springframework.context.ApplicationContext; import org.springframework.context.ApplicationContextAware; /** * 以静态变量保存Sp...
分类:
编程语言 时间:
2014-08-12 08:58:43
阅读次数:
163
(function( window, undefined ) { // 构造 jQuery 对象22 var jQuery = (function() {25 var jQuery = function( selector, context ) {27 return new j...
分类:
Web程序 时间:
2014-08-11 21:06:02
阅读次数:
234
1 (function( window, undefined ) { 2 // 构造jQuery 对象 3 var jQuery = (function() { 4 var jQuery = function( selector, context ) { 5 retur...
分类:
Web程序 时间:
2014-08-11 21:01:02
阅读次数:
236
使用过SSH注解的屌丝们都知道,要想使用注解需要在applicationContext.xml配置文件里面开启注解配置,开启方式如下:1.头部声明需加入xmlns:context="http://www.springframework.org/schema/context"http://www.sp...
分类:
其他好文 时间:
2014-08-11 14:33:32
阅读次数:
261
Did you know that you can close tabs in the editor and the tool windows of PyCharm without actually using the context menu commands? It is enough to p...
分类:
其他好文 时间:
2014-08-11 11:23:52
阅读次数:
211
由于工作的需求,促进我学习html5 canvas技术,canvas是html5最强大的元素之一。使用它可以在浏览器中做一番奇妙的事情。大家或多或少都听过canvas的强大用处,我这里就不再赘述了。 canvas的强大功能是通过canvas的context对象表现出来的,该环境变量是可以从can.....
分类:
其他好文 时间:
2014-08-11 09:54:01
阅读次数:
254