.
- Original Message -
From: Parnell, Giles (AU - Sydney) [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Thursday, January 16, 2003 5:03 PM
Subject: RE: ActionErrors getting lost between action and JSP
Hi there Giri
I seem to have got this working... although not sure why
See my comments below.
- Original Message -
From: Parnell, Giles (AU - Sydney) [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Wednesday, January 15, 2003 10:03 PM
Subject: RE: ActionErrors getting lost between action and JSP
Hi there Giri
Thanks for your
lost between action and JSP
See my comments below.
- Original Message -
From: Parnell, Giles (AU - Sydney) [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Wednesday, January 15, 2003 10:03 PM
Subject: RE: ActionErrors getting lost between action and JSP
:10 PM
Subject: Re: ActionErrors getting lost between action and JSP
Sorry if this was mentioned, but are you using redirect=true for that
action-mapping?
--
James Mitchell
- Original Message -
From: Giri Alwar [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED
Subject: Re: ActionErrors getting lost between action and JSP
See my comments below.
- Original Message -
From: Parnell, Giles (AU - Sydney) [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Wednesday, January 15, 2003 10:03 PM
Subject: RE: ActionErrors getting lost
You need to save the ActionErrors object in the request in order to access
it from the JSP. The simplest way to do this is as follows:
In your Action class,
ActionErrors errors = new ActionErrors();
errors.add(some property name, new ActionError(some.key));
// The next step is
: Re: ActionErrors getting lost between action and JSP
You need to save the ActionErrors object in the request in order to access
it from the JSP. The simplest way to do this is as follows:
In your Action class,
ActionErrors errors = new ActionErrors();
errors.add(some property name, new
7 matches
Mail list logo