Spring MVC JSP View Resolver Example

Spring MVC JSP View Resolver is a way to configure the jsp view names using the org.springframework.web.servlet.view.InternalResourceViewResolver. InternalResourceViewResolver has 2 properties that are very useful 1. prefix 2. s

Read More →

Spring MVC XML View Resolver Example

Spring MVC XML View Resolver provides a way to configure the view URL’s in a single XML file. The location of the file is defined in the dispatcher servlet.xml. If we do not define any locati

Read More →

Spring MVC File Upload Example

Spring MVC File upload is made easy by the Apache Commons FileUpload dependency. Lets see the steps on how we can use that in the sample code for Spring MVC File Upload. 1. Dependencies in pom.xml

Read More →