Re: How do I retrive an ActionErrors object?
Posted By:
Matan_Amir
Posted On:
Wednesday, June 4, 2003 07:51 AM
The ActionErrors object usually sits (If you saved it using the saveErrors method of the Action class) in the request under the org.apache.struts.Globals.ERROR_KEY (in version 1.1) key. In version 1.0x i think it's a static constant in the Action class. If you have access to the request object, you can get it from there.
The RequestUtils object does exist under the package org.apache.struts.utils and does have the getActionErrors method. The Javadocs are part of the Struts API documentation. This, again, is referring to the Struts 1.1rc2.
Hope that helps,
Matan