摘要: 一:下载插件JAD : http://www.kpdus.com/jad.html#download(选择与操作系统对应的版本)JadClipse:http://sourceforge.net/project/showfiles.php?group_id=40205(选择Eclipse支持的版本)1,将下载到的JAD反编译工具解压,将得到的jad.exe放置到java目录下(%java_HOME%/bin)2.1:将jadeclipse插件net.sf.jadclipse_3.3.0.jar 拷贝到myeclipse安装目录/Common/plugins/目录下。(我测试的版本不需要)2.2: 阅读全文
posted @ 2014-03-25 11:31 风语9 阅读(348) 评论(0) 推荐(0) 编辑
摘要: ApplicationContext context = new ClassPathXmlApplicationContext("applicationContext.xml");ArticleService service = (ArticleServicel) context.getBean("articleService"); 阅读全文
posted @ 2014-03-25 10:48 风语9 阅读(91) 评论(0) 推荐(0) 编辑
摘要: 1.如果使用的是javaEE5 请修改成javaEE62.有可能hibernate-jpa-2.0-api-1.0.0.Final.jar会和ejb3-persistence.jar里很多重复,需要删除ejb3-persistence.jar 阅读全文
posted @ 2014-03-25 10:41 风语9 阅读(209) 评论(0) 推荐(0) 编辑
摘要: 漂浮广告 阅读全文
posted @ 2014-03-24 17:04 风语9 阅读(103) 评论(0) 推荐(0) 编辑
摘要: usemap 是为了给图像加热点,所谓图像热点就是定义图像上的一小块区域使其变成一个独立的超链接具体demo如下 阅读全文
posted @ 2014-03-24 16:34 风语9 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 其实是表的主键设为GenerationType.AUTO 为自动写入只要手动填写其他字段的值就可以,不需要写主键值(否则不能添加数据)也可以尝试set IDENTITY_INSERT 表名 on 阅读全文
posted @ 2014-03-24 15:14 风语9 阅读(1331) 评论(0) 推荐(0) 编辑
摘要: 可以使用广播监听网络的改变AndroidManifest.xml ConnectionChangeReceiver.javapackage com.relonger.oufengliyuan.receiver;import android.content.BroadcastReceiver;import android.content.Context;import android.content.Intent;import android.net.Connec... 阅读全文
posted @ 2014-03-19 13:05 风语9 阅读(366) 评论(0) 推荐(0) 编辑
摘要: web.xml cxf org.apache.cxf.transport.servlet.CXFServlet cxf /ofly/* rest-service.xml 在Spring的application.xml中添加 阅读全文
posted @ 2014-03-18 08:54 风语9 阅读(253) 评论(0) 推荐(0) 编辑
摘要: 查看http://wiki.connect.qq.com/中的Android应用接入API下载jar包(open_sdk.jar,mta-sdk-1.0.0.jar)在Android项目中 AndroidManifest.xml 在主程序中MainActivity.java private QQAuth mQQAuth; public static Context appContext; private Button mNewLoginButton; private String mAppid="22222"; private UserInfo mInfo; private 阅读全文
posted @ 2014-03-13 13:51 风语9 阅读(725) 评论(0) 推荐(0) 编辑
摘要: HelloWorld接口public interface HelloWorld extends Remote { String sayHi(String name)throws RemoteException;}HelloWorldImpl.javapublic class HelloWorldImpl extends UnicastRemoteObject implements HelloWorld{ private static final long serialVersionUID = 1L; public HelloWorldImpl()throws RemoteException{. 阅读全文
posted @ 2014-03-12 09:50 风语9 阅读(185) 评论(0) 推荐(0) 编辑