`
文章列表

DHTMLX

通过 Access IFRAME Content 实现 dhtmlxWindows 间传值: http://docs.dhtmlx.com/doku.php?id=dhtmlxlayout:access_iframe_content引用//Accessing IFRAME object ifr = dhxWins.window(id).getFrame(); //Accessing functions/variables/obects ifr.contentWindow.msg = "Popup message"; ifr.contentWindow.myFunc() ...
How to perform function after Jquery (window).load is complete: http://stackoverflow.com/questions/5416209/how-to-perform-function-after-jquery-window-load-is-complete引用$(window).load( function() { //do something }); 关于$(document).ready 和 $(window).load 的区别: http://wuaner.iteye.co ...
出错的代码:Iterator<File> iter = FileUtils.iterateFiles(dicFile, regexFilter, null); while(iter.hasNext()) { prePicInfoMap.put(iter.next().getName(), Constant.DISPCONTENT_LOGO_PATH + iter.next().getName()); } 出错原因很简单:多用了一次iter.next()!!! 应改为:Iterator<File> iter = FileUtils.itera ...
Add exception message to json response: http://stackoverflow.com/questions/4033502/add-exception-message-to-json-response引用Another option is to create a custom result type that both sets a 500 ISE status and returns a JSON response containing the error data. Then just map your exception to that resul ...
keys: bytecode, byte code, opcode. javap: https://docs.oracle.com/javase/8/docs/technotes/tools/windows/javap.html A Java Programmer’s Guide to Byte Code http://www.beyondjava.net/blog/java-programmers-guide-java-byte-code/ Looking "Under the Hood" with javap: http://www.javaranch.com/j ...
http://solveme.wordpress.com/2008/08/27/unable-to-install-breakpoint-due-to-missing-line-number-attributes/

Struts2 Tag 标签

    博客分类:
  • J2EE
struts2 OGNL 中的#、%等符号的区别: Apache Struts 2 Documentation -> OGNL: http://struts.apache.org/2.2.3/docs/ognl.html Apache Struts 2 Documentation -> Tag Syntax: http://struts.apache.org/2.2.3/docs/tag-syntax.html Struts 2: %{} or # : http://www.coderanch.com/t/420711/Struts/Struts-or Setting the val ...
ORA-12514: TNS: 监听程序当前无法识别连接描述符中请求的服务 当连接oracle时报如上错误时,可以修改listener.ora 来解决该问题: http://www.cnblogs.com/zyk/archive/2007/10/31/944667.html 修改前:引用 SID_LIST_LISTENER =   (SID_LIST =     (SID_DESC =       (SID_NAME = PLSExtProc)       (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)       (PROGRAM = extpr ...
Setting the class path: http://docs.oracle.com/javase/7/docs/technotes/tools/findingclasses.html引用The default class path is the current directory. Setting the CLASSPATH variable or using the -classpath command-line option overrides that default, so if you want to include the current directory in the ...
常用的几种取得Class类实例的方式: 1 class literal (class字面量, 如String.class/int.class/void.class) 2 instanceOfClass.getClass(); 3 Class.forName(String className) 4 classLoaderInstance.loadClass(String name, boolean resolve) 3 4 为显式的动态加载,关于动态加载,我要记得看附件中的Understanding Class.forName.pdf!关于ClassLoader的更多知识参阅 http://wu ...

SCJP

http://www.javaprepare.com/quests/test.html http://www.java3z.com/cwbwebhome/article/SCJP/scjpex.jsp http://wenku.baidu.com/view/a016de06eff9aef8941e0624.html http://www.proprofs.com/quiz-school/story.php?title=scjp-310055-chapter-7 http://topic.csdn.net/t/20040711/11/3163986.html http://fl ...
java.lang.Math's floor(),ceil() and round()的区别: Just 贴 JDK: 引用public static double floor(double a)     Returns the largest (closest to positive infinity) double value that is less than or equal to the argument and is equal to a mathematical integer. floor返回的是不大于(小于or等于)参数的最大整数的floating-point value表示。 ...
锁永远是锁的对象!即使对加在static method方法上的所谓“锁住的是当前类”的锁,其实锁的也无非是Class的实例对象。 线程与 JVM 退出的关系: http://docs.oracle.com/javase/6/docs/api/java/lang/Thread.html引用When a Java Virtual Machine starts up, there is usually a single non-daemon thread (which typically calls the method named main of some designated class). T ...
final表示“不可变的”或“终态的”,可以用在类、方法、变量上。 用在类上:表示该类不能被继承。 final不能用来修饰抽象类。原因显而易见:final类不能被继承,而抽象类应该被继承,这是矛盾的。 同理也不能用来修饰100%抽象的接口(interface)。 用在方法上:表示该方法不能被子类重写。 final不能用来修饰抽象方法。原因显而易见:final方法不能被子类重写,而抽象方法应该被子类重写(或子类亦声明为抽象类)。 用在变量上:表示该变量只能被赋值一次(JLS Def:A final variable may only be assigned to once)。 因为只能赋值 ...
Controlling Access to Members of a Class: http://download.oracle.com/javase/tutorial/java/javaOO/accesscontrol.html引用There are two levels of access control: At the top level—public, or package-private (no explicit modifier).(类级访问修饰符只有public和default两个) At the member lev ...
Global site tag (gtag.js) - Google Analytics