`
acrbb
  • 浏览: 11194 次
  • 性别: Icon_minigender_1
  • 来自: 上海
最近访客 更多访客>>
文章分类
社区版块
存档分类
最新评论
文章列表

JSF 要点

    博客分类:
  • JSF
  1. Beans are request scoped by default. One request one bean.    Managed beans typically have three parts 1.  Bean properties (i.e, pairs of getter and setter methods)   One pair for each input element Setter methods called automatically by JSF when form methods called automatically by JSF ...
Unicode 可以代表当年世界所有的字符! 代码点其实就是某个字母相关联的数字,计算机世界上每个字符都有唯一的对应数字 UTF-8,UTF-16是指编码标准方案,比如utf8,就是指一个字符用1-4个byte 进行表示! utf16是指一个字 ...
Skip to Content Sun http://java.sun.com/developer/technicalArticles/Intl/Supplementary/index.html   Article Java 平台中的增补字符     Print-friendly Version 作者:Sun Microsystems, Inc. 的 Norbert ...
http://mail.python.org/pipermail/tutor/2000-March/001266.html python.org 的Dennis E. Hamilton 解释了原因: Great question! I can’t remember when I first saw foo and bar used in examples.  It was a long time ago.  I have this sense that it was quite popular around MIT and maybe even t ...
I'm running Eclipse 3.5.1 in a virtual environment. And occasionally the copy/paste (either through the menu or Ctrl-C/Ctrl-V) stops working. Fortunately, I found a fix . In Window > Preferences > Java > Editor > Typing, uncheck "Update imports". Then copy/paste will wo ...
Add immediate="true" to UIInput and UICommand Extend the h:inputText as well as the h:commandButton in the test.jsp with immediate="true" : ... <h:inputText binding="#{myBean.inputComponent}" value="#{myBean.inputValue}" ...
ZZ. Code depot of a Java EE developer Listen and debug JSF lifecycle phases The JSF lifecycle will be explained and debugged here using the "poor man's debugging" approach with sysout's. We'll also check what happens if you add immediate="true" to ...
   float和double类型的主要设计目的是为了科学计算和工程计算。它们执行二进制浮点运算,这是为了在广域数值范围上提供较为精确的快速近似计算而精心设计的。然而,它们没有提供完全精确的结果,所以不应该被用于要求精确结果的场合。float和double类型对于货币计算尤为不合适. static void floatTest(){ System.out.println(1.03-0.42); System.out.println(1-0.1*9); //Use BigDecimal, BigInteger, or ...
1. 同一样比较,a,b 不相等!dentity comparision! Integer a = new Integer(1); Integer b= new Integer(1); 2. 当装箱基本类型引用为null时,进行自动拆箱时,将抛出java.lang.NullPointerException异常。 // java.lang.NullPointerException // if(42==i){ // System.out.println("Yes"); // } 3. 装箱 ...
Global site tag (gtag.js) - Google Analytics