I need to print out a text within the current `year`, my code:

```jsp
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="s" uri="/struts-tags" %>

<jsp:useBean id="now" class="java.util.Date" />
<fmt:formatDate var="year" value="${now}" pattern="y" />
<p>
    <s:text name="%{getText('app.footer', {${year}})}" />
</p>

```

The error is 

> 
> "name" does not support runtime expressions.
> 
> 
> 

How could I arrange it without creating additional classes or variables in actions?