打开Eclipse --->window---->preference ----->Content type----->Text---->Html ----->Add ------>
弹出窗口 File type : 在输入框中输入 *.vm 点击OK ,选中新加入得*.vm 在下面的 Defualt encoding 中输入:
"utf-8“ 单击 update ,点击ok,设置完毕。重新打开*.vm 页面。
打开Eclipse --->window---->preference ----->Content type----->Text---->Html ----->Add ------>
弹出窗口 File type : 在输入框中输入 *.vm 点击OK ,选中新加入得*.vm 在下面的 Defualt encoding 中输入:
"utf-8“ 单击 update ,点击ok,设置完毕。重新打开*.vm 页面。
ThreadLocal的使用,,,實際上相當於維護了一個Map,其中以鍵值對的形式,存儲了某一個數據被多個線程訪問所對應的值。當然這個數據只能有
JSONArray序列化日期最初用到, 這個是全局設置,會有風險。 String[] dateFormats = new String[] {"yyyyMMdd"}; JSONUtils.getM