I get this: "Cannot find bean msg in any scope" with the following code in my jsp page:
<logic:messagesPresent message="true">
there are messages:<br>
<ul>
<html:messages id="msg" message="true">
<li><bean:write name="msg" /></li>
</html:messages>
</ul>
</logic:messagesPresent>
I know there are some messages to display (if I suppress the 'bean:write' block, I get the header 'there are messages:'). But no 'msg' bean has been created inside the loop. Any tips please ?
<logic:messagesPresent message="true">
there are messages:<br>
<ul>
<html:messages id="msg" message="true">
<li><bean:write name="msg" /></li>
</html:messages>
</ul>
</logic:messagesPresent>
I know there are some messages to display (if I suppress the 'bean:write' block, I get the header 'there are messages:'). But no 'msg' bean has been created inside the loop. Any tips please ?