Spring Tutorial

How To Read External Properties File In Spring Using PropertyPlaceholderConfigurer

If you want to save configuration data in an external properties file, and then read them in the spring application, you can use PropertyPlaceholderConfigurer class. This class has a location attribute where you can specify the external properties file location. It then can read the data from the external properties file, and you can use

How To Read External Properties File In Spring Using PropertyPlaceholderConfigurer Read More »

Spring MVC file upload – Unable to process parts as no multi-part configuration has been provided

When you implement file upload in a Spring MVC application, sometimes you may encounter an error message like Unable to process parts as no multi-part configuration has been provided. This is because your servlet is version 3.0 or newer and tomcat needs you to set multipart configure settings to the servlet instance. This article will

Spring MVC file upload – Unable to process parts as no multi-part configuration has been provided Read More »