1.适配器:package com.example.adapter;import java.util.ArrayList;import android.annotation.SuppressLint;import android.app.ActionBar.LayoutParams;import a...
分类:
移动开发 时间:
2014-09-01 07:06:22
阅读次数:
241
注解是一种很优雅的书写方式,也是我们的代码变的简洁,更加...
分类:
移动开发 时间:
2014-08-30 12:43:19
阅读次数:
356
Use the @WebServlet annotation to define a servlet component in a web application. This annotation is specified on a class and contains metadata about the servlet being declared. The annotated servlet...
分类:
编程语言 时间:
2014-08-28 18:09:25
阅读次数:
190
转自:http://www.cnblogs.com/cuizhf/archive/2013/04/08/3006767.html1. 使用Hibernate Annotation来做对象关系映射1) 添加必须包: hibernate-jpa-2.0-api-1.0.0.Final.jar2) 在实体...
分类:
系统相关 时间:
2014-08-28 18:01:48
阅读次数:
339
A processor's performance state may be adjusted based on processor temperature. On transitions to a lower performance state due to the processor getti...
分类:
其他好文 时间:
2014-08-27 18:31:58
阅读次数:
319
importjavax.xml.bind.annotation.XmlAttribute;
importjavax.xml.bind.annotation.XmlRootElement;
@XmlRootElement
publicclassArea{
privateStringareaCode;
privateStringareaName;
privateintareaLevel;
privateintsubAreaNum;
@XmlAttribute
publicStringgetAr..
分类:
编程语言 时间:
2014-08-26 20:00:07
阅读次数:
228
解决使用Androidandroidannotations 配置时 Eclipse 不出现 Annotation Processor Factory...
分类:
移动开发 时间:
2014-08-26 13:44:06
阅读次数:
312
点击链接加入群【JavaEE(SSH+IntelliJIDE+Maven)】:http://jq.qq.com/?_wv=1027&k=L2rbHv 为了解决静态资源访问的问题,servlet改成了拦截所有请求,即/,并添加了默认的servlet,这时候*.do请求不能被控制器捕捉...
分类:
Web程序 时间:
2014-08-26 10:00:06
阅读次数:
196
package com.fengshu.gotian.applicationImpl;
import java.util.List;
import javax.annotation.Resource;
import org.apache.log4j.Logger;
import org.junit.Test;
import org.junit.runner.RunWith;
impor...
分类:
编程语言 时间:
2014-08-25 23:03:35
阅读次数:
512