`
myokm123
  • 浏览: 31615 次
  • 性别: Icon_minigender_1
社区版块
存档分类
最新评论
文章列表
qwaserdf邀请您访问模板大师 http://www.85site.com/?fromuser=qwaserdf
      今天是学习EXTJS4.0的第二课,主要学习了6点知识,内容有点多,但是非常简单。在这里,简单的梳理一下今天的学习的6个知识点:       1、 JS类的声明和对象的创建       2、用EXTJS new 创建一个window       3、用create创建一个window,并用一个按钮进行触发显示       4、用queries异步加载JS,提高运行速度       5、用Ext.class中的config来为属性自动设置set()和get()方法       6、用Ext.class中的mixins来混合类,实现多继承       以上6点是我今天的 ...
      很早就开始关注extjs了,但是一直没有学习她。万事开头难,今天是自学extjs的第一天,对与一门新的语言,最好的入门例子就是万年不变小例子  HelloWord  带你进入程序的世界!好了废话不多说,直接上菜。       1、下载extjs4.0包,去官方下载。不知道的 可以google ,一切都知道了!O(∩_∩)O~       2、在eclipse中创建web project ,命名为:EXTJS       3、本例子只需要2个文件:ext-all.css   ext-all-debug.js,将他们找出备用       4、在EXTJS中的webroot下, ...
   <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans"              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"              xmlns:context="http://www.springframework.org ...
   <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans"              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"              xmlns:context="http://www.springframework.org ...
在后台文件中: private File image;   //文件 private String imageFileName;   //文件名称 public String upload(){     String realPath=ServletActionContext.getServletContext().getRealPath("/imag");     File file=new File(realPath);     if(!file.exists()){     file.mkdirs(); } try {     FileUtils ...
       用注解的方式,实现struts2的validations   一个小demo段:                @Validations(            requiredStrings={                  @RequiredStringValidator(fieldName="user.name",message="用户不能名为空")            }       )       @InputConfig(resultName="error")       public ...
checkbox全选的jquery代码段: $("#allCheck").live("click",function(){ if($("input[name='ids']").attr("checked") == true){ $("input[name='ids']").attr("checked",false); }else{ $("input[name='ids']").attr("checked",true); } ...
           我们偶尔在页面传值到后台或者后台传值到页面上,遇到中文出现乱码的情况,使用一下代码可以解决:         js中:url:"sell?flag=2&spname="+encodeURI(encodeURI(spname))          程序中:String spname = URLDecoder.decode(request.getParameter("spname"),"utf-8");                    我在使用的过程中,如果出现乱码,这个基本都能解决!
c3p0的配置方式分为三种,分别是 1.setters一个个地设置各个配置项 2.类路径下提供一个c3p0.properties文件 3.类路径下提供一个c3p0-config.xml文件 1.setters一个个地设置各个配置项 这种方式最繁琐,形式一般是这样: Properties props = new P ...
Global site tag (gtag.js) - Google Analytics