You should be able to use `struts.getText()` instead - it delegates call to [StrutsUtil](https://github.com/apache/struts/blob/aa744b811f9c41b80cc30ad6cf41ccaa75da5323/core/src/main/java/org/apache/struts2/util/StrutsUtil.java#L146)