The figure below shows the flow of request in the Spring MVC Framework.When a request is sent to the Spring MVC Framework the following sequence of ev...
分类:
编程语言 时间:
2014-07-03 10:08:35
阅读次数:
232
方法有两种: 第一种: 在Windows 7下可以用mklink命令把Chrome浏览器的缓存位置设置为自己需要的文件夹路径。 Chrome浏览器默认的缓存文件位于: CC:\Users\登录用户名\AppData\Local\Google\Chrome\User Data\Default\Cach...
KVM/QEMU hypervisor driver Project Links Deployment pre-requisites Connections to QEMU driver Driver security architecture Driver instances POSIX user...
分类:
其他好文 时间:
2014-07-01 19:14:26
阅读次数:
323
前段时间遇到一个困惑用WebBrowser访问百度地图的时候,百度会自动转至让下载sdk的页面,经过一个仁兄的点拨,可以改变WebBrowser的agent来骗过网站。经过试验成功。贴源码如下:string ua = "User-Agent: Mozilla/4.0 (compatible; MSI...
分类:
Web程序 时间:
2014-07-01 18:09:50
阅读次数:
268
静态工厂和构造器有个共同的局限性:都不能很好的扩展到大量的可选参数。
1、对于多个可选参数的构造器,我们都习惯采用重叠构造器模式,比如一个参数的构造器调用2个参数的构造器,
2个参数的构造器调用3个参数的,以此类推。
public class User{
private int id;
private String name;
priva...
分类:
其他好文 时间:
2014-07-01 16:06:14
阅读次数:
223
最近在翻Oracle SQLPLUS官方文档,在讲SQLPLUS Security章节介绍了PUP这个机制。借此,我来使用以下:
PUP(PRODUCT_USER_PROFILE)介绍
PRODUCT_USER_PROFILE是SYSTEM账户下一个表,可提供用户级别的安全限制。
PUP设置对DBA权限用户无效。
PUP只针对本地数据库生效(Local Database...
分类:
数据库 时间:
2014-07-01 14:33:38
阅读次数:
310
原文地址:http://developer.android.com/design/wear/principles.html
本篇设计原则提供了一些关于应该怎样规划和评估你的Android Wear应用程序设计的简单思路。
Focus on not stopping the user and all else will follow(专注于不打算用户并让一切后续跟随上来)
...
分类:
移动开发 时间:
2014-07-01 11:28:20
阅读次数:
309
/*
* 备忘录模式
*/
#include
//保存值
class mySavevalue
{
public:
mySavevalue(string user_name = "",
int life_value = 100,
int magic_point = 100,
int rank_values =...
分类:
其他好文 时间:
2014-07-01 08:49:27
阅读次数:
203
mysql> grant all on *.* to 'root'@'192.168.1.1' identified by 'password';
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
。
确认方式(查看是否有grant all 没...
分类:
数据库 时间:
2014-07-01 07:08:47
阅读次数:
461
Note: It may need root user permissions to execute following commands.
(1) Install needed packages
yum install mod_dav_svn subversionIn my PC, packages that were installed are
Note: if you are goi...
分类:
其他好文 时间:
2014-07-01 06:38:19
阅读次数:
397