Grzegorz Stasica wrote:
hi,Basically I'd like to ask why I'm not able to access my messages stored in action from jsp.ActionMessages m=new ActionMessages(); m.add(ActionMessages.GLOBAL_MESSAGE,new ActionMessage("error.no_value")); saveMessages(request,m); in jsp I try this<c:out value="${requestScope['org.apache.struts.action.GLOBAL_MESSAGES']}" />I know I can access errors by ${requestScope['org.apache.struts.action.ERROR']}but isn't it weird. Why do messages can be accessed by ERROR key?And the final question if I store my message under key "my_key" how should I specify package in address<c:out value="${requestScope['org.apache.struts.action.ERROR (my_key) ']}" /> ????
My motto is: If you do not know the answer go to the sources!!
To access messages in JSTL I should write
<c:out value="${requestScope['org.apache.struts.action.ACTION_MESSAGE']}" />
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

