摘要: spring配置文件的配置 Mybatis配置文件 SpringMVC配置文件 阅读全文
posted @ 2018-11-21 12:10 cat_fish 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 1 //调用存储过程 2 public static void testPro(){ 3 String driver = "oracle.jdbc.OracleDriver"; 4 String url = "jdbc:oracle:thin:@localhost:1521:orcl"; 5 Connection conn = n... 阅读全文
posted @ 2018-08-22 00:25 cat_fish 阅读(425) 评论(0) 推荐(0) 编辑
摘要: 一、先编写远程服务类的接口 二、实现该接口的方法,1、先根据id查询获取商品,2’将商品放入map中 3、将path和request_file_path变量的值放入map中 以替换模板中的内容 三、配置cxf 四、在web.xml中配置servlet 五、通过wsdl2java生成服务代码 六、编写 阅读全文
posted @ 2018-08-07 12:19 cat_fish 阅读(695) 评论(0) 推荐(0) 编辑
摘要: 一、文件上传条件: 1、依赖表单,请求方式为post, enctype="multipart/form-data" 2、表单中有file类型的input 二、提交文件上传的表单,不需要页面跳转,用jquery.form.js插件。以ajax方式提交表单 三、在springMVC配置文件中设置 四、文 阅读全文
posted @ 2018-07-29 12:25 cat_fish 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 删除文档 查询 带高亮的查询 阅读全文
posted @ 2018-07-26 21:47 cat_fish 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 一、创建Activiti工程,并导入Activiti包及数据库驱动包 二、用代码方式创建 流程引擎 三、采用配置文件方式创建 流程引擎 阅读全文
posted @ 2018-07-16 21:58 cat_fish 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 一、创建自定义日期转换器类 二、在springmvc配置文件中设置 阅读全文
posted @ 2018-07-15 11:19 cat_fish 阅读(1839) 评论(0) 推荐(0) 编辑
摘要: 一、Person实体类 二、mapper映射文件相关配置 阅读全文
posted @ 2018-07-12 12:00 cat_fish 阅读(1349) 评论(0) 推荐(0) 编辑
摘要: RemoteSolrException: Expected mime type application/octet-stream but got text/html 解决方法: 在使用Tomcat部署Solr后,Collection1的地址为:http://ip:8080/solr/#/collec 阅读全文
posted @ 2018-05-28 23:31 cat_fish 阅读(393) 评论(0) 推荐(0) 编辑
摘要: 处理方式: 1、对项目的.project文件去掉下面两个配置 org.eclipse.wst.jsdt.core.javascriptValidator 和 org.eclipse.wst.jsdt.core.jsNature 2、重启Eclipse后则正常。 阅读全文
posted @ 2018-05-28 12:20 cat_fish 阅读(11202) 评论(0) 推荐(1) 编辑