XML宣言 <?xml version="1.0" encoding="UTF-8" ?&g… 続きを読む: Struts1.3.5のstruts-config.xml
Struts1.3.5を使ったアプリケーションの初期化
以下の2種類の方法がある。 ServletContextListenerを使うStrutsのPluginを使う… 続きを読む: Struts1.3.5を使ったアプリケーションの初期化
Struts1.3.5のvalidation.xml
validator-rules.xml jarに含まれたらしい。validatorの定義が書かれている。 ht… 続きを読む: Struts1.3.5のvalidation.xml
Struts1.3.5のRequiredValidator
必須チェック。空白だけをいれるとこのチェックにひっかかる。 サンプル <field property="… 続きを読む: Struts1.3.5のRequiredValidator
Struts1.3.5のMaskValidator
requiredとmaskだけ使えばほかいらないんじゃないかな?と思うわけだ。 サンプル <field … 続きを読む: Struts1.3.5のMaskValidator
Struts1.3.5のIntRangeValidator
範囲内のint値。 サンプル <field property="loginID" depends="in… 続きを読む: Struts1.3.5のIntRangeValidator
Struts1.3.5でValidatorを使う
StrutsではValidate機能が付いている。 Validatorは以下のチェックができる。 クライアント… 続きを読む: Struts1.3.5でValidatorを使う
Struts1.3.5でTilesを使ってみる
Struts1.3.5のログ
Struts自体がcommons-loggingを使っている。これを制御するためには設定ファイルを用意してやる… 続きを読む: Struts1.3.5のログ
