Top "Properties-file" questions

A .properties file is either a simple text file or an XML file containing pairs of keys and values.

How to load java properties file and use in Spark?

I want to store the Spark arguments such as input file, output file into a Java property files and pass …

java apache-spark properties-file
How to configure the log4j output file path in web.xml and log4j.properties?

I have developed a web application where i can register a employee. My web.xml <?xml version="1.0" encoding="UTF-8"?&…

debugging configuration log4j web.xml properties-file
boolean values in Spring application.properties file?

Is it possible to have boolean values in Spring configuration file? I wrote the following field in my bean: @Value("${…

java spring properties-file
SpringBoot unknown property in application.properties

I've generated a Spring Boot web application using Spring Initializr, using embedded Tomcat + Thymeleaf template engine. I put this property …

java spring spring-mvc spring-boot properties-file
Include A Properties File With A Jar File

I've written a small application. I've put the database specific information in a properties file. db.url=jdbc:mysql://localhost:3306/…

java database executable-jar properties-file
Get int, float, boolean and string from Properties

I have int, float, boolean and string from Properties file. Everything has loaded in Properties. Currently, I am parsing values …

java constants properties-file
Reading data from properties file in shell script

I am writing a shell script which reads data from a properties file and stores in into a local variable …

linux shell properties-file
Loading multiple properties files

Is it possible to stack loaded properties in Java? For instance can I do: Properties properties = new Properties(); properties.load(…

java properties-file
Read a properties file in powershell

Let's suppose that I have a file.properties and its content is: app.name=Test App app.version=1.2 ... how can …

powershell properties-file
@PropertySource in a Jar for an external file on the classpath

I'm trying to use the Spring framework's @PropertySource annotation in a Jar to load a properties file from outside the …

java spring jar classpath properties-file