This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I've got a generic page and I'd like to pass text in to be displayed at the top. My Action class puts the Resource into the session: HttpSession session = request.getSession(); session.setAttribute("logon_message", "k35.logon.postad"); I'd ideally like to be able to write a single tag that would write the String that corresponds to k35.logon.postad in my Application Resources file. Can anybody suggest an improvement on the following? <logic resent name="logon_message"> <p class="heading"> <bean:message key="<%=session.getParameter("logon_message")%>"/> </p> </logic resent>