This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
here com.tt.example1,example2,example3 is java class. How can I read all value at a time using spring configuration file. It should not be hard code.\
Thanks in advance
My question is still the same? How exactly do you want to use the values, It makes a big difference in the answer.
Look at the PropertyPlaceholderConfigurer in the Spring Framework documentation to see if that is what you need. Are you using Spring 3.x, if so, then I recommend reading about the Spring Expresssion language in the Spring Framework documentation.