Review
In the previous section, we have discussed and implemented the Java classes. In this section, we will start writing the configuration files.Table of Contents
Part 1: Introduction and Functional SpecsPart 2: Java classes
Part 3: XML configuration
Part 4: HTML form
Part 5: Running the Application
Configuration
Here are the important configuration files that needs to be declared:- spring.properties
- applicationContext.xml
- spring-servlet.xml
- web.xml
spring.properties
This contains your SendGrid user and key credentials to access the Web API. This is equivalent to your SendGrid's username and password. This file also contains a temporary directory location for saving file uploads.
applicationContext.xml
In order for file uploads to work, make sure to declare a MultipartResolver bean
spring-servlet.xml
web.xml
0 komentar:
Post a Comment