時間格式輸出

1.attribute對象中時間類型
    1.jstl中 fmt:formatdate
2.javascript
    1.new Date(毫秒數).toLocalString()
                       toDateLocalString()
    2.經過Date對象的年月日時分秒的值,再使用字符串拼接。
3.實例類中使用String來接收時間類列。
5.    逆向工程。
    a)    mybatis-generator-core-1.3.2解壓到目錄下
    b)    配置驅動
    c)    修改鏈接屬性
    d)    修改包名(mapper dao domain)
    e)    添加要生成的表
    f)    保存並關閉。
    g)    在該目錄下的目錄行中寫cmd
    h)    執行
    java -jar mybatis-generator-core-1.3.2.jar -configfile generatorConfig.xml -overwrite


javascript

相關文章
相關標籤/搜索