-- Read a Property File --
--------------------- ERA.properties -------------------- webapp.name=ERA Admin DashBoard webapp.version=Version: neo_jsf_ice_with_tree_06 author.name=Jayasanka Illangarathne author.url=http://jayasanka.blogspot.com company.name=Virtusa Private Ltd: company.url=http://www.virtusa.com copyright.year=2008 dataBase.name=EraDB server.path=jdbc:sqlserver://localhost:1433 dataBase.uname=sa dataBase.passwd=jayasanka -------------------------java file------------------- package com.resource; import java.io.FileInputStream; import java.io.FileOutputStream; import java.util.Properties; public class ERAProperties { public static void main(String[] args) { Properties properties = new Properties(); try { // load the resource file properties.load(new FileInputStream("src/com/resource/ERA.properties")); // get a property String name = properties.getProperty("author.name"); System.out.println...