My Tiles Definition File has the below tile definition ======================================================== <definition name="tiles.callback" extends="layout.jsp"> <put-attribute name="body" value="/callback/callback.jsp" /> <put-attribute name="title" value="TITLE_TEST" /> </definition>
In this TITLE_TEST is a key present in the message resources properties file.
My layout.jsp File has the below code snippet ============================================== I want the value for the key TITLE_TEST to be displayed in my jsp page. <s:text name="<%=titleId.toString()%>" /> but it does not work.
Could any body tell how to do the same . I am getting the key from a tile as an attribute.
Please make sure your property file name is "application.properties" and make it in src folder. Then you declare TITLE_TEST and value and restart server.