Develop with pleasure!

福岡でCloudとかBlockchainとか。

2008-07-14から1日間の記事一覧

FreeMarkerのテンプレートファイルのロード処理を変更する。

Struts2+FreeMarkerの連携では、FreeMarkerのテンプレートファイルはweb.xmlで <context-param> <param-name>templatePath</param-name> <param-value>C:/hoge/template</param-value> </context-param> な感じで指定する。 Struts2では、この設定をorg.apache.struts2.views.freemarker.FreemarkerManagerが読み込み、テンプレートファイルをロ…