We added a method in the base action called saveErrorsInSession. We created a custom tag called GetErrorsTag that takes ActionErrors from session and places it in the request to be caught by ErrorsTag and then removes it from session. I place this tag before ErrorsTag. Also you could extend ErrorsTag to lookup ActionErrors in session before trying to lookup in request.
Saludos. Guillermo. -----Original Message----- From: Hubert Rabago [mailto:[EMAIL PROTECTED] Sent: Lunes, 09 de Febrero de 2004 11:49 p.m. To: Struts Users Mailing List Subject: Re: Persisting Messages/Errors when redirect="true" There's no built-in support for this at the moment. I add code to my projects to add that support. I can share the code with you if you want. - Hubert --- David Erickson <[EMAIL PROTECTED]> wrote: > Is it possible to persist Messages/Errors around your site through the > request when setting redirect="true" on an action mapping? An example > I have right now is I have a delete action that forwards to a > listContacts.do action on success.. however its persisting url > parameters from my delete request that is interfering with my > listcontacts action. If i set redirect='true' though it empties my > request =(. Help! Thanks -David > > (Plus I can't be the only one forwarding from action->action.. and it > gets really annoying seeing the old action url listed in the url even > though your on a new one) > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > __________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] NOTA DE CONFIDENCIALIDAD Este mensaje (y sus anexos) es confidencial, esta dirigido exclusivamente a las personas direccionadas en el mail y puede contener informacion (i)de propiedad exclusiva de Interbanking S.A. o (ii) amparada por el secreto profesional. Cualquier opinion en el contenido, es exclusiva de su autor y no representa necesariamente la opinion de Interbanking S.A. El acceso no autorizado, uso, reproduccion, o divulgacion esta prohibido. Interbanking S.A no asumira responsabilidad ni obligacion legal alguna por cualquier informacion incorrecta o alterada contenida en este mensaje. Si usted ha recibido este mensaje por error, le rogamos tenga la amabilidad de destruirlo inmediatamente junto con todas las copias del mismo, notificando al remitente. No debera utilizar, revelar, distribuir, imprimir o copiar este mensaje ni ninguna de sus partes si usted no es el destinatario. Muchas gracias. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

