- 浏览: 1155516 次
- 性别:
- 来自: 北京
-
最新评论
-
a535114641:
LZ你好, 用了这个方法后子页面里的JS方法就全不能用了呀
页面局部刷新的两种方式:form+iframe 和 ajax -
di1984HIT:
学习了,真不错,做个记号啊
Machine Learning -
赵师傅临死前:
我一台老机器,myeclipse9 + FB3.5 可以正常使 ...
myeclipse 10 安装 flash builder 4.6 -
Wu_Jiang:
触发时间在将来的某个时间 但是第一次触发的时间超出了失效时间, ...
Based on configured schedule, the given trigger will never fire. -
cylove007:
找了好久,顶你
Editable Select 可编辑select
文章列表
JavaEE组件经过部署之后,被安装到JavaEE(应用)服务器中。
JavaEE(应用)服务器:JavaEE服务器提供web容器和EJB容器
EJB容器:管理EJB的运行
Web容器:管理Servlet和JSP的运行
由此可看出web容器(如tomcat)与应用服务器的区别:
web容器不提供对ejb的支持,只是为javaee13中核心技术中的jsp和servlet提供了默认实现;ssh架构只要在web容器里就可以跑;
而应用服务器提供了对所有javaee13中核心技术的实现,支持ejb
RMI和JMS区别:
RMI一般都是是同步的。也就是说,当client调用Server的一个方法的 ...
http://docs.oracle.com/javase/specs/jls/se7/html/jls-8.html#jls-8.1.3
static嵌套类行为上更像一个独立的类,非static的嵌套类在行为上类似类的属性或方法且禁止声明static的方法。内部类可以访问外部类的所有方法与属性,但static的内部类只能访问外部类的静态属性与方法。
官方:
Nested Classes:
http://download.oracle.com/javase/tutorial/java/javaOO/nested.html
Inner Class Example:
http://downlo ...
数组是对象,是相同类型元素的集合。声明数组变量时的数组类型(即type[])中的type可以是任意数据类型,包括基本类型和引用类型。声明后数组的元素数据类型type便确定下来,该数组只能存放该类型的元素。数组创建后其长度就确定下来,且长度是固定、不可变的。
数组的length,是属性,String的length()是方法,为防止记混,可做如下推想:取长度的方式,无论是String(length())、集合类(size())、File(length())等,都是通过方法调用来取的。数组在java中是特殊的,因为在jdk中你连它的源码都看不到,据说实现自jvm底层。既然数组特殊,那人家的取长度方式 ...
项目中使用的是1.4.7,作为eclipse的插件装的;后来又在机子上装了个TortoiseSVN 1.6.5。遇到的问题:
引用
This client is too old to work with working copy 'D:\MyEclipseWorkspace\projectName\WebRoot\WEB-INF\lib'; please get a newer Subversion client.
估计是不经意中使用了1.6.5做了提交导致的问题。
官方解决办法:
http://subversion.apache.org/faq.html#working-copy-form ...
待看:
http://docs.oracle.com/javase/tutorial/java/nutsandbolts/operators.html
java运算符:
http://www.particle.kth.se/~lindsey/JavaCourse/Book/Part1/Java/Chapter02/operators.html
&&与&、||与|区别:
&和|既可以做两个boolean间运算符也可以做两个int间运算符;即:
引用
boolean & boolean //逻辑与、Logical AND、Boolean AND
...
关于String:
http://docs.oracle.com/javase/specs/jls/se7/html/jls-4.html#jls-4.3.3引用Instances of class String represent sequences of Unicode code points.
A String object has a constant (unchanging) value.对象不可变(不是引用不可变!);这一特性使它可以共享。
String literals (§3.10.5) are references to instances of class String.
T ...
q:String s = new String("obj"),创建了几个对象?那Person p = new Person()那?
a:两个。Person p = new Person()肯定只创建了一个了。
java api中对问题中所用String构造方法的解释:
public String(String original)
Initializes a newly created String object so that it represents the same sequence of characters as the argument; in other wor ...
http://teethgrinder.co.uk/open-flash-chart/
table与flash转换工具:
http://www.john-north.com/nathfy/AttC
遇到的问题:
一个sql中,union了几个子查询。单独执行每个子查询都没问题,但union后执行,报
ORA-00904: "xxx": invalid identifier
关于union的使用:
SQL: UNION Query:
http://www.techonthenet.com/sql/union.php
SQL: UNION ALL Query:
http://www.techonthenet.com/sql/union_all.php
所union的各个子查询要有相同数量的列,且对应位置的列必须具有相同的数据类型;但列的名字可以不同。
the diffre ...
Oracle/PLSQL: Extract Function:
http://www.techonthenet.com/oracle/functions/extract.php
[url]extract [Oracle SQL]:[/url]
http://www.adp-gmbh.ch/ora/sql/extract.html
http://www.cnblogs.com/ruanbl/archive/2008/02/29/1086398.html
引用
In Oracle/PLSQL, the extract function extracts a value from a dat ...
笛卡尔积:
insert into t_sales_forecast
select SALES_FORECAST_SEQUENCE.nextval as id,basic.* from
(
select school_id,district_id,year_table.year,month_table.month ,500 as or_forcast,1000 as re_forcast,sysdate as update_date,'1' as user_id,sysdate as insert_date
from v_school_district
cross join
...
Oracle/PLSQL: Trunc Function (with dates):
http://www.techonthenet.com/oracle/functions/trunc_date.php
引用
In Oracle/PLSQL, the trunc function returns a date truncated to a specific unit of measure.
The syntax for the trunc function is:
trunc ( date, [ format ] )
date is the date to truncate.
form ...
Oracle Connect By Function:
http://www.psoug.org/reference/connectby.html
START WITH and CONNECT BY in Oracle SQL
http://www.adp-gmbh.ch/ora/sql/connect_by.html
How the start with CONNECT BY clause in Oracle works
http://www.oradev.com/connect_by.jsp
about level:
http://www.adp-gmbh.ch/ora/sql/l ...
Oracle/PLSQL: Lpad Function:
http://www.techonthenet.com/oracle/functions/lpad.php
RPAD and LPAD [Oracle SQL]:
http://www.adp-gmbh.ch/ora/sql/rpad.html
引用
In Oracle/PLSQL, the lpad function pads the left-side of a string with a specific set of characters.
The syntax for the lpad function is:
lpad( ...