Hi Chris,

>  saveMessages(request.getSession(),msgs)

Looks like this is from Struts 1.2.
  
http://struts.apache.org/api/org/apache/struts/action/Action.html#saveMessages(javax.servlet.http.HttpSession,
org.apache.struts.action.ActionMessages)

> which means passing messages where the action has a redirect="true"
> doesn't work very well.
> 
> I think that StrutsUtils assumes that the messages are in the request
> only - is this correct? If so - is there a recommended solution?

You can make a patch and post it to bugzilla.
  http://issues.apache.org/bugzilla/enter_bug.cgi?product=Velocity

> I can of course create another tool $sessionMessages - but that seems
> a little inelegant :-)
:-)

Best regards
-- Shinobu Kawai

-- 
Shinobu Kawai <[EMAIL PROTECTED]>

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

Reply via email to