Struts ValidatorResources 的警告問題
Posted on 2006-12-10 00:13 Dr.Water 閱讀(2750) 評論(3) 編輯 收藏 所屬分類: Java 隨手貼Struts? ValidatorResources 的警告問題
google到的其他人同樣的問題描述
http://www.mail-archive.com/user@struts.apache.org/msg51847.html
我自己的配置
struts-config-action.xml中配置



運行所有跟這個form有關的頁面都會出現:
[ValidatorResources]2006-12-10 00:07:23 WARN : Form 'dynamicForm' not found for locale 'zh_CN'
我即使在messageResource_zh_CN.properties添加了對應的key/name也不行.
解決方法,參考其他帖子,我首先升級strut 到1.3.x,commons-validator也升級到1.3.0
然后




在validation-user.xml 添加一個form就行了





不再有這個WARN 了。?