This is my action method containing the business logic. I want to show error message from this action method in the jsp. The control goes to the jsp but the error message does not show up.In my jsp i have this code to display error message:
I am new to struts. Also in eclipse it says that saveErrors method is deprecated. i know how to display errors using validate method of the bean class which extends ActionForm.
Unless there is a good reason to learn Struts 1, drop it like a hot rock and learn a "modern" framework (Struts 2, Spring, etc.). Struts 1 is past "end of life" and unsupported, not to mention that it has many architectural issues that make developing with it tedious at best..
Mohan Mehra wrote:
Also in eclipse it says that saveErrors method is deprecated.
I looked at the documentation and source for Struts 1.3.10 and I do not see Action.saveErrors(request, errors) as being deprecated.