上一页 1 2 3 4 5 6 ··· 16 下一页
摘要: 这里要强调的是,Mybatis是对返回的结果的每一行做映射的。所以,下面的语句返回的是Integer,而不是List Xml代码 <select id="count" parameterType="AreaDto" resultType="java.lang.Integer"> SELECT id 阅读全文
posted @ 2017-02-27 11:47 roscee 阅读(545) 评论(0) 推荐(0) 编辑
摘要: package com.wdit.linsheng.modules.cms.utils; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputSt... 阅读全文
posted @ 2017-02-27 11:43 roscee 阅读(611) 评论(0) 推荐(0) 编辑
摘要: import org.apache.poi.hwpf.HWPFDocument; import org.apache.poi.hwpf.usermodel.Range; import org.apache.poi.xwpf.usermodel.ParagraphAlignment; import o 阅读全文
posted @ 2017-02-27 11:43 roscee 阅读(241) 评论(0) 推荐(0) 编辑
摘要: Bean with name ‘xxxService’ has been injected into other beans [xxxService] in its raw version as part of a circular reference, but has eventually bee 阅读全文
posted @ 2017-02-27 11:41 roscee 阅读(730) 评论(0) 推荐(0) 编辑
摘要: <!-- 自动扫描,base-package 属性指定了需要扫描的类包,类包及其递归子包中所有的类都会被处理--> <context:component-scan base-package="com.chen"> <!-- 排除模拟实现类 <context:exclude-filter type=" 阅读全文
posted @ 2017-02-27 11:41 roscee 阅读(924) 评论(0) 推荐(0) 编辑
摘要: 在使用SpringMVC的时候我们可以使用Spring封装的一系列表单标签,这些标签都可以访问到ModelMap中的内容。下面将对这些标签一一介绍。 在正式介绍SpringMVC的表单标签之前,我们需要先在JSP中声明使用的标签,具体做法是在JSP文件的顶部加入以下指令: Jsp代码 <%@tagl 阅读全文
posted @ 2017-02-27 11:39 roscee 阅读(315) 评论(0) 推荐(0) 编辑
摘要: wsimport是JDK自带的工具,主要功能是根据服务端生成的WSDL文件创建客户端支持代码。生成java客户端代码常使用的命令参数说明: 参数 说明 -p 定义客户端生成类的包名称 -s 指定客户端执行类的源文件存放目录 -d 指定客户端执行类的class文件的存放目录 -keep 表示生成客户端 阅读全文
posted @ 2017-02-27 11:19 roscee 阅读(526) 评论(0) 推荐(0) 编辑
摘要: 1 on(events,fn) 绑定事件 2 off(events,fn) 解除绑定 3 addClass() 4 removeClass() 阅读全文
posted @ 2017-02-27 11:18 roscee 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 问题如题: 这里我们在父页面定义一个全局的变量来标识是否需要刷新父页面(声明:下图中点击保存页面之后,不关闭子页面):点击1出弹出窗口: 我们的目的是:如果,用户保存过数据:在点击关闭按钮和2处所指的小X时,刷新父列表页面;若果用户没有保存过数据,关闭窗口是不刷新父列表页面。 //这里是父页面(列表 阅读全文
posted @ 2017-02-27 11:17 roscee 阅读(5228) 评论(0) 推荐(0) 编辑
摘要: 打开Window->Preferences->Team->Ignored Resources, 点击Add Pattern按钮,添加要忽略为文件或文件夹 比如:要忽略bin文件夹,则添加模式*/bin/*; 忽略.classpath文件,则添加模式*.classpath. 阅读全文
posted @ 2017-02-27 11:15 roscee 阅读(21820) 评论(0) 推荐(1) 编辑
上一页 1 2 3 4 5 6 ··· 16 下一页