在1.1版本中 最好不用用ActionMessages和ActionMessage 
用ActiongErrors和ActionError 否则很容易出问题的

解决方案 »

  1.   

    对,好像Struts1.1ActiongErrors和ActionError 是主打,好像到了1.2还是2.0,用ActiongErrors和ActionError 就不行了,已经被弃用而ActionMessages 就比较好了
    看你写的没什么问题,不知道你的property文件里面有没有配置
      

  2.   

    <html:messages id="msg" message="true">
    <bean:write name="msg"/></html:messages>id中的msg是什么?
    在我印象当中<html:messages>变迁中的id属性应该为你saveMessage的第二个参数吧?在这里应该为errors吧?反正在1.2当中我都是这么做的