requiredstring

なにそれ?

入力チェックを行うバリデーション。
文字列がnullあるいは""だった場合にエラーメッセージを返します。

使用方法

基礎を参照。
messageタグのinnerHTMLはs:fielderrorタグで出力できます。
「Could not find action or result」というエラーが出る場合は、struts.xmlのresultタグのname属性"input"を追加すればOKです。