All the nuts and bolts involved in developing this portal will show how to implement basic Spring MVC software.
Configuration of the
DispatcherServlet
Configuration of the Spring container
Creating controllers
Validation
Views and ViewResolvers
Encryption and decryption of files
Creating error views for generic exceptions
There are two ways to perform file-uploading transactions, and the easiest and most immediate way is to use the Servlet 3.1 multipart request process. In order to configure this option, we add the tag <multipart-config>
inside the <servlet>
tag declaration of DispatcherServlet
. The next step, which involves configuring the Spring MVC container, will discuss multipart request processes.
Aside from the <multipart-config>
tag, there are no additional settings that have been added to the web.xml
. The deployment descriptor (web.xml
) still contains the <servlet>
tag for the front controller's declaration...