摘要: var hallo = tinyMCE.activeEditor.getContent(); alert(hallo); 转载: Tinymce 获取内容 | (1r1g.com) 阅读全文
posted @ 2023-03-08 20:24 信铁寒胜 阅读(229) 评论(0) 推荐(0)
摘要: 1、filePath 是文件的绝对路径 Runtime runtime = Runtime.getRuntime(); runtime.exec("rundll32 url.dll FileProtocolHandler "+filePath); 阅读全文
posted @ 2023-03-08 16:03 信铁寒胜 阅读(191) 评论(0) 推荐(0)
摘要: 1、直接用Double对象判断得到的是不相等 public static void main(String[] args) { try { Double d = new Double("1"); Double d1 = new Double("1"); if(d != d1) { System.ou 阅读全文
posted @ 2023-03-08 15:59 信铁寒胜 阅读(548) 评论(0) 推荐(0)
摘要: 1、Hibernate中in查询条件 public List<User> listByNames(List<String> names) { String hql = "from User where name in (:names)"; Query query = this.sessionFact 阅读全文
posted @ 2023-03-08 10:29 信铁寒胜 阅读(91) 评论(0) 推荐(0)