struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Duan Qiang" <qd...@ilog.com.sg>
Subject how can I override the message resources
Date Wed, 11 Jun 2003 06:51:46 GMT
Hi,

I'd like to override the behaviour of the <bean:message key="abc"/> so that
it simply returns the key without prefixing ??? and suffix ???.

For example, when the key abc does not exist in the message bundle, simple
return "abc".

    <init-param>
      <param-name>application</param-name>
      <param-value>
       i18n.LsrMessageResources
      </param-value>
    </init-param>

When I defined a class named i18n.LsrMessageResources extending the
MessageResources class, it simply does not called.

thx.

dq


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message