• Post Reply Bookmark Topic Watch Topic
  • New Topic

Struts bean:message usage  RSS feed

 
Paul Gilette
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to do something like the following, but I can't get it to work:
<bean:message key="message.hi" arg0='<bean:write name="a" scope="session" property="name"/>'/>
In other words, I want to look at the session attribute "a" for a property called "name" and use it as arg0 for the bean:message. When I look at the generages Java source I see that the arg0 properyty is simply being set to the literal string "<bean:write...", rather than evaluating it.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!