Re: How to get the ActionErrors object from the request

2005-05-13 Thread Rutger Heijmerikx
http://www.onjava.com/pub/a/onjava/2003/07/30/jakartastruts.html?page=2 On 5/12/05, Néstor Boscán <[EMAIL PROTECTED]> wrote: > Hi > > Does somebody know how I can get the ActionErrors object from the request??? > > Regards, > > Néstor Boscán > > -- ____

Re: How to get the ActionErrors object from the request

2005-05-12 Thread Mehmet E.
http://javaboutique.internet.com/tutorials/excep_struts/ A good article Handling Messages, Errors and Exceptions in Struts 1.1 > Hi > > Does somebody know how I can get the ActionErrors > object from the request??? > > Regards, > > Néstor Boscán > __

RE: How to get the ActionErrors object from the request

2005-05-12 Thread Freddy Villalba A.
Hello, There is the "nice" way (tags) - which I deduce from a previous posting you already know - and then there are many "dirty" ways. For instance, you can access it directly. However, in that case, you have to find out the key under which Struts stores that object. There is one, that I can assu

Re: How to get the ActionErrors object from the request

2005-05-12 Thread Aladin Alaily
Hi Néstor, You can do that with the following code: ActionErrors errors = (ActionErrors) request.getAttribute(Globals.ERROR_KEY); Aladin > Hi > > Does somebody know how I can get the ActionErrors object from the > request??? > > Regards, > > Néstor Boscán > -

RE: How to get the ActionErrors object from the request

2005-05-12 Thread McDonnell, Colm (MLIM)
request.getAttribute(Globals.ERROR_KEY); -Original Message- From: Néstor Boscán [mailto:[EMAIL PROTECTED] Sent: 12 May 2005 16:28 To: 'Struts Users Mailing List' Subject: How to get the ActionErrors object from the request Hi Does somebody know how I can get the ActionErrors object f

RE: How to get the ActionErrors object from the request

2005-05-12 Thread Allistair Crossley
the correct way is to use struts tag libraries otherwise you can do something like ActionMessages messages = (ActionMessages) request.getAttribute("org.apache.struts.action.ERROR"); Allistair. > -Original Message- > From: Néstor Boscán [mailto:[EMAIL PROTECTED] > Sent: 12 May