Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
public class MyClass {
private static Properties props;
static {
InputStream isResource = MyClass.getResourceAsStream("connection.properties");
props = new Properties();
try {
props.load(isResource);
} catch ( IOException ex ){
//Resource unavailable
//Consider populating props with defaults
}
}
}