Answers for "copy a file in static folder spring boot"

0

spring boot save file to static folder

String fileLocation = new File("src\main\resources\static\uploads").getAbsolutePath() + "\" + fileName;

		FileOutputStream output = new FileOutputStream(fileLocation);

		output.write(imagem.getBytes());

		output.close();
Posted by: Guest on December-05-2020

Code answers related to "copy a file in static folder spring boot"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language