Answers for "spring boot save file to static folder"

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 "spring boot save file to static folder"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language