Memorynotfound Java Programming Tutorials
Spring MVC Download File Examples
In this tutorial we show you how to use Spring MVC to download a file. You can either download a file as an attachment or directly view the file inside the browser. To show...
Spring MVC File Upload Example + Validator
In this tutorial we show how to upload a file using Spring MVC and apache commons-fileupload. The uploaded file is validated against a custom Spring Validator. When the file exceeds the maximum allowed upload...
Spring MVC Theme Switcher Example
In this tutorial we build a Spring MVC theme. You can apply a Spring MVC theme to set the overall look-and-feel of your web application. A theme is a collection of static resources like...
Spring MVC Internationalization i18n Example
Internationalization is the process of designing your application for the international market; that is, make it able to support virtually any language, timezone or local setting. This tutorial shows how you can build Internationalized...
Spring MVC slf4j + Logback Logging Example
Almost all web application need some sort of logging. Either for an audit trail, legal aspects or for debugging purposes during development. In this tutorial we integrate logging in a web application configured with...
Spring MVC Static Resources + WebJars + Caching
In this tutorial we build a simple web application that serves static content from org.webjars and from the resources folder, add caching rules to these static resources and remove the version number from the...
Spring MVC XML Configuration Example
This tutorial shows how to build a basic web application using Spring MVC XML Configuration. We create a simple controller that’ll handle incomming requests and forwards the response to a simple view that’ll display...
Spring MVC Java Configuration Example
This tutorial shows how to build a basic Spring MVC Web Application. We start by defining the project structure. Next, we add the project’s dependencies via Apache Maven. Then we create a simple controller...
Update XML Document with JDOM2
In this tutorial we show how to update an XML Document using JDOM. We can modify the XML Document after we load it into memory. We show you how to do the following updates:...