Refresh Your Java - Before Java Interview
We are Agile, believe in less Documentation - Only Quick notes (Java Interview Questions) of Java/J2ee Read more....
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.
data.saved=Data saved successfully
ActionMessages messages = new ActionMessages();
ActionMessage msg = new
ActionMessage(“data.saved”);
messages.add(“message1?, msg);
<html:messages id=”msgId”
message=”true”
property=”message1?>
<bean:write
name=”msgId”/><br>
</html:messages>
In property file
data.do configured as below
data.do=Please {0}
This Portal is intended to put all Java/J2ee related topics at one single place for quick referance, not only Technical , but also the Project Management Related thing such as Development Process methodoogies build process, unit testing etc.,
This Portal has More than 500 Java Interview Questions (also could be Considered as Quick Notes) very neatly separated topic by topic with simple diagrams which makes you easily understandable. Importantly these are from our Realtime expericance.