2009-10-01から1ヶ月間の記事一覧

[Sturts] taglibの書き方

Sturts1.3系から出来るようになったTaglibディレクティブの書き方 uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>uri="http://struts.apache.org/tags-logic" prefix="logic"%>uri="http://struts.apache.org/tags-bean" prefix="bean"%> みた…

リスト形式の入力値を取得する時のActionFormの書き方

logic:iterateを使った場合。 忘れやすいのでメモ。 private List hogeList;public Bean getId(int index) { return (Bean)hogeList.get(index); }getter・setter略 getId の Id には、logic:iterate タグのid属性のvalueを指定。

Pleiadesが重い・・・

会社の支給マシンがしょぼいのでPleiadesは辞めて素のEclipse3.5を使うことに。 でもSVNが標準でサポートされてないのね。。。Subversive導入 http://kurusugawa.jp/2009/07/08/how-to-install-subversive-plugin-to-eclipse-galileo-35/ あとはプロパティエ…

struts 1.3.10移行メモ

strutsを1.2.9→1.3.10に変更した時に最初に起きたエラー。 java.lang.NullPointerException: Module 'null' not found. org.apache.struts.taglib.TagUtils.getModuleConfig(TagUtils.java:755) org.apache.struts.taglib.TagUtils.getModuleConfig(TagUtils…