2019年1月3日
摘要: 既然能在代码中解析XML文档获取数据,当然也能通过代码动态生成XML文档了。 与解析XML一样,生成XML文档也是用到了那4种方法。 一:DOM方法生成XML 步骤: 1:创建DocumentBuilder:DocumentBuilder builder=new DocumentBuilder(); 阅读全文
posted @ 2019-01-03 11:15 那片林 阅读(11829) 评论(0) 推荐(0) 编辑
摘要: 本篇文章将简介使用四种方式对xml进行写入。 #一、Dom写入 import java.io.File; import javax.xml.parsers.DocumentBuilder;import javax.xml.parsers.DocumentBuilderFactory;import j 阅读全文
posted @ 2019-01-03 10:53 那片林 阅读(13398) 评论(0) 推荐(0) 编辑
  2018年11月23日
摘要: 在common文件夹下创建common_header.html文件 内容如下 <!DOCTYPE html><html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"><head t 阅读全文
posted @ 2018-11-23 10:11 那片林 阅读(1141) 评论(0) 推荐(0) 编辑
  2018年11月21日
摘要: CellRangeAddress numRegion = new CellRangeAddress(1, 3, 0, 0);CellRangeAddress signRegion = new CellRangeAddress(1, 3, 1, 1);CellRangeAddress codeRegi 阅读全文
posted @ 2018-11-21 10:17 那片林 阅读(524) 评论(0) 推荐(0) 编辑
  2018年11月13日
摘要: 字段替换update PLAT_MENU_NEW set file_name=replace(file_name,'10.249.20.14','10.245.0.89:8080') where file_name like '%unicom_lte%'分页sql <![CDATA[SELECT * 阅读全文
posted @ 2018-11-13 16:18 那片林 阅读(165) 评论(0) 推荐(0) 编辑
  2018年11月2日
摘要: RFC接口调用SAP如果有异常会通过com.sap.mw.jco.JCO$Exception: 抛出异常在开发中遇到的异常有如下 用户名密码可能是错误或者用户无权限,确认用户,必要时联系SAP负责人,检查用户(103) RFC_ERROR_LOGON_FAILURE: ##.#####,####(1 阅读全文
posted @ 2018-11-02 10:52 那片林 阅读(449) 评论(0) 推荐(0) 编辑
摘要: 转载:https://blog.csdn.net/u011229925/article/details/72841001 阅读全文
posted @ 2018-11-02 10:50 那片林 阅读(7024) 评论(0) 推荐(0) 编辑
  2018年11月1日
摘要: 例子: mvn install:install-file -DgroupId=org.hibersap -DartifactId=sapjco3 -Dversion=3.0 -Dpackaging=jar -Dfile=F:\Maven\sapjco3\sapjco3.jar 阅读全文
posted @ 2018-11-01 16:20 那片林 阅读(577) 评论(0) 推荐(0) 编辑
摘要: windows 环境设置 1.sapjco3.dll 需要与 sapjco3.jar 在同一目录 2.设置系统环境变量,将sapjco3所在目录加入系统环境变量 3.根据自己的操作系统版本选择对应的sapjco3包 32位系统 例如: 新建环境变量 变量名: JAVA_SAPJCO 变量值: E:\ 阅读全文
posted @ 2018-11-01 10:59 那片林 阅读(1102) 评论(0) 推荐(0) 编辑
  2018年10月25日
摘要: Spring 中bean 的生命周期短暂吗? 在spring中,从BeanFactory或ApplicationContext取得的实例为Singleton,也就是预设为每一个Bean的别名只能维持一个实例,而不是每次都产生一个新的对象使用Singleton模式产生单一实例,对单线程的程序说并不会有 阅读全文
posted @ 2018-10-25 10:27 那片林 阅读(286) 评论(0) 推荐(0) 编辑