I am working on the Struts2 framework with JSP.
In my samplePrj.properties file, in that
samplePrj.properties
com.samplePrj.Successmessage = Saved Successful
You can use getText() method to read from properties files.
//do what u want