View Full Version : [STRUTS] How to tell if errors exist in a Struts Action
I would like to know within my Struts Action class whether an error has already been set. For example, some previous action may have forwarded to my Action. If they have set an error, I want to do something different from if there are no errors.
to work with errors you can use ActionErrors class in Struts.
you can save the errors in an ActionErrors object and then display if any errors.
you also trace if any errors using the above object.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.