Michael's Blog

Michael's Blog Space

 

2012年7月6日

Android2.2中系统自带主题themes.xml的源代码

摘要: <?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2006 The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License a 阅读全文

posted @ 2012-07-06 09:46 Michael.Wang 阅读(405) 评论(0) 推荐(0) 编辑

Android2.2中系统自带样式styles.xml的源代码

摘要: <?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2006 The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License a 阅读全文

posted @ 2012-07-06 09:45 Michael.Wang 阅读(973) 评论(0) 推荐(0) 编辑

2012年6月28日

HTML导入CSS的四种方式

摘要: 在html中,引入css的方法主要有行内式、内嵌式、导入式和链接式4种。1.行内式:即在标记的style属性中设定css样式,这种方式本质上没体现出css的优势,因此不推荐使用。2.嵌入式:在对页面中各种元素的设置集中写在<head>和</head>之间的,对于单个页面来说,这种方式很方便。3.导入式:导入式格式如下:<style type="text/css">@import "mystyle.css";</style>4.连接式:格式如下:<link href="mystyle.css& 阅读全文

posted @ 2012-06-28 15:01 Michael.Wang 阅读(1387) 评论(0) 推荐(0) 编辑

2012年6月20日

Android环境变量的设置

摘要: 设置JDK的环境变量的时候Android的环境变量也要设置,方便调用Android的平台命令.1.首先设置SDK的路径ANDROID_SDK_HOME,指向自己本机的SDK路径.e.g.C:\Android\android-sdk2.在path里设置sdk的tools和platform-tools路径.e.g. %ANDROID_HOME%\tools;%ANDROID_HOME%\platform-tools3.验证Android SDK 环境变量设置是否成."开始"->"运行"键入"cmd"打开命令行窗口;键入"a 阅读全文

posted @ 2012-06-20 10:37 Michael.Wang 阅读(661) 评论(0) 推荐(0) 编辑

windows xp下配置JDK环境变量

摘要: 1.安装JDK,安装过程中可以自定义安装目录等信息,例如我们选择安装目录为C:\jdk1.6; 2.安装完成后,右击“我的电脑”,点击“属性”; 3.选择“高级”选项卡,点击“环境变量”; 4.在“系统变量”中(有的公司“系统变量”是不允许用户自行修改的,这时候你也可以在“用户变量”中设置JAVA环境变量),设置3项属性,JAVA_HOME,PATH,CLASSPATH(大小写无所谓),若已存在则点击“编辑”(若值中原来有内容,用分号与之隔开),,不存在则点击“新建”; 5.JAVA_HOME指明JDK安装路径,就是刚才安装时所选择的路径C:\jdk1.6,此路径下包括lib,bin... 阅读全文

posted @ 2012-06-20 10:01 Michael.Wang 阅读(4013) 评论(0) 推荐(0) 编辑

2012年6月19日

How to install Spring IDE in Eclipse

摘要: 原文:http://www.mkyong.com/spring/how-to-install-spring-ide-in-eclipse/Spring IDEis a very useful graphical user interface tool adding support for Spring Framework. In this tutorial, we show you two ways to install Spring IDE in Eclipse.Version used in this tutorial :Spring IDE 2.9Eclipse 3.7Spring ID 阅读全文

posted @ 2012-06-19 11:37 Michael.Wang 阅读(1150) 评论(0) 推荐(0) 编辑

struts+spring+hibernate是怎样的架构?

摘要: original link:http://zhidao.baidu.com/question/30659246.htmlstruts+spring+hibernate是怎样的架构?检举|2007-7-13 17:12提问者:tommy_yzx|浏览次数:4389次我是java初学者,只学了点语法.现在看到很多网站采用struts+spring+hibernate的架构?看了点资料,说这3个都是框架,请问是不是就是类似.netframe这样的东东,也就是封装了一些函数和类等?java做网站只用jdk不可以吗?为什么要3个呢?这3个是不是就是"简化的jdk",可以这样理解吗?j 阅读全文

posted @ 2012-06-19 10:17 Michael.Wang 阅读(363) 评论(0) 推荐(0) 编辑

struct hibernate spring 经典框架 搭建 入门实例

摘要: original link :http://www.cnblogs.com/DiYuShe/admin/EditPosts.aspx?opt=1在搭建环境以前我们需要准备如下 一些东西(下面是我用的):structs2.2.3《下载》hibernate3.3.2(本来用4.0但是spring貌似还不不支持4.0,后面改回来)《下载》spring 3.0《下载》上面是官网的下载地址后面还需要其他一些包我打包好了《下载》开发工具使用的是eclipse +jdk6 +tomcat + mysql5.1下面我们开始搭建环境首先创建一个Dynamic web project 输入任意名字第一先加载spr 阅读全文

posted @ 2012-06-19 09:56 Michael.Wang 阅读(530) 评论(0) 推荐(0) 编辑

2012年6月15日

eclipse中配置tomcat 启动正常 访问报404

摘要: 问题:1、eclipse中配置好tomcat服务器后,启动tomcat查看控制台信息显示启动成功,但访问tomcat首页报404异常2、而从tomcat/bin目录中启动后,就能够正常访问首页,由此分析应该是eclipse配置错误解决方案:查询资料,正确配置如下:双击Server中配置的Tomcat服务器会弹出如下界面:在Server Locations配置中选择第二个选项,use tomcat installation ,保存,重新启动Tomcat服务,访问成功原文链接:http://showlike.iteye.com/blog/1549663 阅读全文

posted @ 2012-06-15 11:26 Michael.Wang 阅读(646) 评论(0) 推荐(0) 编辑

2012年6月14日

Creating Web Services (Bottom Up) in Eclipse Java EE IDE for Web Developers

摘要: Tutorial 1: Creating Web Services in Eclipse (Bottom Up) [Helios](Please check also the NEW update Tutorial with EclipseIndigohere)The purpose of these series Tutorial (updated with eclipse Helios)is to introduce tools needed, setup and initial guidelines for Service Oriented Applications. Since the 阅读全文

posted @ 2012-06-14 23:28 Michael.Wang 阅读(619) 评论(0) 推荐(0) 编辑

导航