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 are class types in java?
what is mutual exclusion? : Java thread
What is an example of character?
What is the use of private static?
What is a byte string?
Is string is a data type in java?
How to perform bubble sort in java?
Where pragma is used?
What does a method signature consist of?
What does s mean in regex?
When will you define a method as static in Java?
What is this keyword used for?
What is hash in java?
Considering notepad/ie or any other thing as process, what will happen if you start notepad or ie 3 times? Where 3 processes are started or 3 threads are started?
What modifiers may be used with a top-level class?