velocity的簡單使用

velocity的簡單使用 文件目錄結構,只有Demo1和hellovelocity.vm有用,其他的只是測試,可忽略 利用代碼模板生成需要的代碼文件 getPro與getVel區別在於配置的方式不一樣 需要更改Template template = ve.getTemplate(「templates/hello.vm」,「UTF-8」);中的模板路徑 package com.info33.vel
相關文章
相關標籤/搜索