原创 ckeditor5 使用第一天 下載並實現載文本的居中,居左,居右功能
1、官方網站地址https://ckeditor.com/,下載zip包或者從git上下載, 下載完成後解壓文件,將文件複製到項目中 , 2、引用ckeditor.js,zh-cn.js路徑到項目中, 初始化ckeditor,代碼如下:
原创 Android studio 3.4 新建項目報錯Error:unable to resolve dependency for app@。。。
試過網上很多的例子,有的設置Go to `File->Settings->Build, Execution, Deployment->Gradle->Uncheck Offline work option.` 但我的沒成功,後來發現 打開
原创 CKEditor5 使用第二天 獲取回傳數據,圖片上傳
1、當系統中存在編輯功能時,需要將數據庫中數據回顯到頁面,因此採用了最一般的方法,通過隱藏的input標籤存貯,在通過CkEditor5中的setData方法將數據賦值到富文本框中 <textarea id="pc" name="pc"
原创 IDEA 運行後亂碼問題解決
頁面亂碼: 在edit configurations->vm options 添加 -Dfile.encoding=UTF-8 調整idea文件編碼格式,全部爲 UTF-8 (file -> settings -> editor -> f
原创 git 提交項目代碼到碼雲步驟 以及出現錯誤解決辦法
git init git remote add origin 項目地址 git add . git commit -m "註釋" git push origin master 出現錯誤 $ git push origin master
原创 springMVC js等文件找不到錯誤
應用springMVC時如果配置URL映射時如下配置 <servlet> <servlet-name>appServlet</servlet-name> <servlet-class>org.s
原创 cesium 加載影像,隱藏背景,並以二維方式展示
var viewer = new Cesium.Viewer('cesiumContainer', { sceneMode : Cesium
原创 Cesium 長度測量 面積測量
<!DOCTYPE html> <html lang="en"> <head> <!-- Use correct character set. --> <meta charset="utf-8"> <!-- Tell IE t
原创 Cesium 海拔 經緯度 展示
通過參考http://gishome.net.cn/cesium/cesium-coordinates/,整理修改後 <!DOCTYPE html> <html lang="en"> <head> <!-- Use correct
原创 jstl中處理日期格式,小數fmt
日期格式(2008年5月5日22點00分23秒)<fmt:formatDate value="<%=new Date() %>" pattern="yyyy年MM月dd日HH點mm分ss秒" />保留兩位小數<fmt:formatNumb
原创 oracle數據庫中同一個表的兩個字段 數據合併成一個數據以及字符串補0
合併字段使用|| 字符串右側補0 使用rpad函數 rpad(substr(adcd, 0, 12), 15, '0') 15指字符串的長度 0代表要補的值
原创 在applicationContext中配置引入其他properties文件 以及使用
1 在ApplicationContext中引入properties文件 <context:property-placeholder location="classpath:config.properties"/> 2 properti
原创 Mysql 入門操作使用
1 安裝好mysql2 開啓mysql服務(以管理員身份進入)3 在DOS命令窗口輸入 mysql -hlocalhost -uroot -p回車 進入mysql數據庫,其中-h表示服務器名,localhost表示本地;-u爲數據庫用戶名
原创 oracle數據庫中查詢一個表中的字段是否存在於另一個表中字段數據
select distinct(a.adcd),a.adnm from fda.ia_adc_adinfo a where not exists(select * from mde.sys_adcdyear b where a.adc
原创 java中數據文件的下載
title = java.net.URLDecoder.decode(title, "UTF-8");//前臺傳值過來的文件路徑 String format = title.substring(title.lastIndexOf("\\"