Thanks,

this should be the solution, since the request-object is a new one if using
a redirect (gosh) ... ;o)

Will take a look at my struts-config ... 

Thanks and regards,

mario


-----Ursprüngliche Nachricht-----
Von: Andrew Hill [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 15. Januar 2004 11:44
An: Struts Users Mailing List
Betreff: RE: Where are my ActionErrors ?


Did you do a redirecting or non-redirecting forward to the JSP?

-----Original Message-----
From: Gleichmann, Mario [mailto:[EMAIL PROTECTED]
Sent: Thursday, 15 January 2004 18:44
To: 'Struts Users Mailing List'
Subject: Where are my ActionErrors ?


Hello all,

i have a problem when i'm trying to retrieve my ActionErrors in a JSP:

In my Action i do the following:
        ...
        ActionErrors errors = new ActionErrors();
        errors.add( "INFORMATION", new ActionError( "product.message.test" )
);
        saveErrors( request, errors );          
        ...

In the forwarded JSP i try to request the ActionErrors:

                <html:errors property="INFORMATION"
bundle="product.messages"/>

... nut no Error is displayed. Even 

        ActionErrors errors = (ActionErrors) request.getAttribute(
org.apache.struts.Globals.ERROR_KEY );

... delivers null.

Where are my ActionErrors ?

Thanks in advance,

mario


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



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

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

Reply via email to