what is difference between Action messages and Action errors?

Answer Posted / mothilal d

The difference between the classes is zero -- all behavior
in ActionErrors was pushed up into ActionMessages and all
behavior in ActionError was pushed up into ActionMessage.
This was done in the attempt to clearly signal that these
classes can be used to pass any kind of messages from the
controller to the view -- errors being only one kind of
message

clearly saying that ActionErrors Method is deprecated in
earlier versions of struts and same features are pushed in
to ActionMessges now in latest versions

Is This Answer Correct ?    7 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is object cloning in Java?

621


What is class??

743


Can a final variable be initialized in constructor?

475


Can you override static methods?

497


How can we create a synchronized collection from given collection?

568






when to use ArrayList and when to use HashMap in webApplication.

3868


What is meant by data hiding in java?

631


Is a boolean 1 bit?

602


Explain public static void main(string args[]) in java.

518


Can you make a constructor final in Java?

614


What is difference between fail-fast and fail-safe?

576


what is thread in Java ?

614


Is ++ operator thread-safe in java?

616


Is binary a low level language?

484


Is it possible to override private or static method in java?

528