in action I have

ActionMessages messages = (ActionMessages)frm.validate( mapping, request );
       if ( messages != null && !messages.isEmpty() ) {
           saveMessages(request, messages);  ********* ****************
           return (mapping.findForward("validFailed"));
       }else {
           //No ActionMessages/Errors
           if(isTokenValid(request, true)) {
               //do calculate
           }
       }

IN jsp
<html:messages id="CrditRtMsg" property="CreditRate">
      <c:out value="${CrditRtMsg}" />
</html:messages>

When I debug I see the messages in the action. But the jsp doesn't display them?
Also, when changed the
saveMessages() to saveErrors() in the action method above, can see the messages. everything works fine as expected.

why is this? what changes have to be made?

Thanks.

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to