我说详细一点:看struts-config.xml文件
<message-resources
    parameter="org.apache.struts.webapp.example.ApplicationResources"/>  <message-resources
    parameter="org.apache.struts.webapp.example.AlternateApplicationResources_zh"
    key="alternate">
  </message-resources>
上面第一个没有指明key,那么就是缺省的“org.apache.struts.action.MESSAGE”
当你的页面有<bean:message key="index.heading"/>没有指明bundle时,他也是用的却省的资源文件,现在你没有,所以就出异常了