struts.xml配置如下:
<struts>
<constant name="struts.custom.i18n.resources" value="i18n"/>
<package name="struts" extends="struts-default" namespace="">

<interceptors>
            <interceptor name="myInterceptor" class="interceptors.MyInterceptor"/>
</interceptors>

<action name="login" class="action.StrutsAction">
<result name="success">/result.jsp</result>
<result name="input">/index.jsp</result>
<interceptor-ref name="logger"/>
<interceptor-ref name="myInterceptor"/>
<interceptor-ref name="defaultStack"/>
</action>

</package></struts> i18n_en_US.properties内容如下:index.no=Reader Account
i18n_en_US.properties放在了与struts.xml相同的目录下。jsp显示页面如下:
index.jsp:
<s:label value="%{getText('index.no')}" />  //结果显示为空。
<s:text name="index.no"/>                   //结果显示index.no。result.jsp:
<s:text name="index.no"/>     //结果显示index.no。控制台提示信息如下:
十一月 12, 2012 1:50:21 下午 com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn
WARNING: The first TextProvider in the ValueStack (action.StrutsAction) could not locate the message resource with key 'index.no'
十一月 12, 2012 1:50:21 下午 com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn
WARNING: The default value expression 'index.no' was evaluated and did not match a property.  The literal value 'index.no' will be used.
为什么国际化不能正常显示呢,是哪出了问题????
求高人指点啊!!