「Struts2入門」addActionMessageの利用方法

1.usermatome.properties
user.manage=ユーザ{0}は{1}歳です

2.UserManegAction.java
List<String> cft = Arrays.asList(“yamada","21″);
addActionMessage(getText(“user.manage" , cft));

Java

Posted by arkgame