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
What is the use of callablestatement?
What is jit and its use?
What is a method in programming?
What is the largest long allowed by java?
How do you use wildcards?
What is the main advantage of passing argument by reference?
Why stringbuilder is not thread safe in java?
Can we override private methods?
How is final different from finally and finalize?
What is an exception in java?
According to java operator precedence, which operator is considered to be with highest precedence?
Explain the difference between a Thread and a Process.
What is method overloading and method overriding?
Differentiate between vector and array list.
What is return keyword in java?