pajarokillo
Programmer
hi, i don't get that this code work fine
CODE
ActionMessages messages = new ActionMessages();
messages.add("statusMessage", new ActionMessage("message.key"));
saveMessages(request.getSession(), messages);
where "message.key" is one of the property key in the Application Resource file.
In the JSP
CODE
<logic:messagesPresent message="true">
<html:messages id="message" message="true" property="statusMessage">
<bean:write name="message"/>
</html:messages>
</logic:messagesPresent>
With this code, it don't display nothing, but if i delete the attribute 'property' of the <html:messages> tag, it work fine and it display the message.
Which is the explication?
Thanks
CODE
ActionMessages messages = new ActionMessages();
messages.add("statusMessage", new ActionMessage("message.key"));
saveMessages(request.getSession(), messages);
where "message.key" is one of the property key in the Application Resource file.
In the JSP
CODE
<logic:messagesPresent message="true">
<html:messages id="message" message="true" property="statusMessage">
<bean:write name="message"/>
</html:messages>
</logic:messagesPresent>
With this code, it don't display nothing, but if i delete the attribute 'property' of the <html:messages> tag, it work fine and it display the message.
Which is the explication?
Thanks