Knight of the round table

wansong

The difference between eclipse and rad

  <context-param>
        <param-name>contextConfigLocation</param-name>
        <param-value>
            classpath:/applicationContext*.xml
        </param-value>
    </context-param> 
The snippet above is ok in eclipse but it can't work in RAD. The following configuration can work in RAD.

<context-param>
        <param-name>contextConfigLocation</param-name>
        <param-value>
            classpath*:/applicationContext*.xml
        </param-value>
    </context-param>


public void setDispIndex(Integer dispIndex) {
  this.dispIndex = dispIndex;
 }
menu11.setDispIndex(1); //it can't work in RAD.
menu11.setDispIndex(new Integer(1)); // it works in RAD.

posted on 2010-09-13 11:34 w@ns0ng 阅读(129) 评论(0)  编辑  收藏


只有注册用户登录后才能发表评论。


网站导航:
博客园   IT新闻   Chat2DB   C++博客   博问