what is difference between Action messages and Action errors?
Answer Posted / mishra_pradip(geit)
ActionMessage: A class that encapsulates messages. Messages
can be either global or they are specific to a particular
bean property.
Each individual message is described by an ActionMessage
object, which contains a message key (to be looked up in an
appropriate message resources database), and up to four
placeholder arguments used for parametric substitution in
the resulting message.
ActionErrors: A class that encapsulates the error messages
being reported by the validate() method of an ActionForm.
Validation errors are either global to the entire
ActionForm bean they are associated with, or they are
specific to a particular bean property (and, therefore, a
particular input field on the corresponding form).
Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Explain public static void main(string args[]).
What is %02d?
Can we create an object if a class doesn't have any constructor ( not even the default provided by constructor ) ?
What is a dot notation?
Why for each loop is used?
What is boolean false?
What is the base class in java from which all classes are derived?
What is update method called?
Does constructor be static?
Differentiate between postfix and prefix operators in java.
Explain jdk, jre and jvm?
How do you create a null object?
Can we define private and protected modifiers for the members in interfaces?
Which sort is best in java?
What is the relationship between class and object?