web.xml
<web-app version="3.0"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://ja...
分类:
编程语言 时间:
2014-12-24 14:45:41
阅读次数:
241
1.js原型
java有class和instance,js只有构造函数(function Cat(name,age){this.name=name;this.age=age}),为了实现数据共享和抽象出通用的属性,加了一个原型prototype
eg:
function Cat(name,age){
this.name = name;//这里的this相当于java里面的inst...
分类:
Web程序 时间:
2014-12-24 11:46:37
阅读次数:
172
A media failure has occurred. This has resulted in all the membe
rs of the next hop log group being rendered inaccessible to the log w
riter process (LGWR) at a log switch. How does this failure aff...
分类:
数据库 时间:
2014-12-23 21:15:45
阅读次数:
168
applicationContext.xml
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:jee="http://www.springframework.org/schema/jee"
xmlns:...
分类:
其他好文 时间:
2014-12-23 19:39:31
阅读次数:
222
每一个对象都有一把独占锁。独占锁只限制线程对它的同步方法的访问,对非同步方法,独占锁没有意义。
synchronized关键字可以作为函数的修饰符,也可以作为函数内的语句,也就是平时说的同步方法和同步代码块。如果再细分的话,synchronized可以作用域instance变量、对象引用、static函数和类上。
不过无论synchronized关键字加载方法上还是对象上,它取...
分类:
编程语言 时间:
2014-12-23 17:25:00
阅读次数:
232
一是安装mysql时,其中会有一个步骤选择编码方式,此时选择gbk即可。如果不选择,默认的编码是latin1; 二是在安装玩mysql之后,手动修改其配置文件,如下: (1)修改 MySql安装目录下面的my.ini(MySQL Server Instance Configuration 文件).....
分类:
数据库 时间:
2014-12-23 17:21:34
阅读次数:
172
django.shortcuts package提供提供帮助类和函数可以更便捷的操作MVC中的每一部分,包含: render(request, template_name,[dictionary],[context_instance],[content_type],[status],[current...
分类:
其他好文 时间:
2014-12-23 00:08:31
阅读次数:
245
安装完成oracle后,通常都会发现有2个系统级别的帐号可以登录,但从来没有考虑过这2个帐号之间有什么区别,后来从一位老师那里得知了区别所在,便记录下来。 sys 帐号登录,必须带上另外一个参数 sysdba或者是sysoper,sysdba表示登陆后可以操作instance和database...
分类:
数据库 时间:
2014-12-22 21:14:25
阅读次数:
237
You are using an Automatic Storage Management (ASM) instance to m
anage the files of your production database. You have two disk groups
, DG1and DG2 with one device each. In the parameter file of th...
分类:
数据库 时间:
2014-12-21 19:31:13
阅读次数:
266
WEB.xml配置 <?xml version="1.0" encoding="UTF-8"?> ? <web-app xmlns="http://java.sun.com/xml/ns/javaee" ?? ? ? ? ? ?xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ? ? ? ? ? ?x...
分类:
编程语言 时间:
2014-12-20 17:01:34
阅读次数:
292