Spring MVC

Spring MVC i18n Java Config Example

i18n is the abbreviation of internationalization, this is because there are 18 character between the first i and the last n. It’s purpose is to display different languages page content to different locale users in same web application. This can make application development more efficiency. Developer do not need to provide multiple web pages for …

Spring MVC i18n Java Config Example Read More »

Spring MVC Full Java Based Configuration Example

This example will demo how to create a spring mvc project without any xml configuration file also called web.xml-less. It will only use java config annotations. This example also implement a login function. There is a login form page, and when user input correct username and password, it will show login success page. If the …

Spring MVC Full Java Based Configuration Example Read More »

Spring MVC Login Example

This example will implement a spring mvc web application. It provide a login form to the user, when user submit correct user account info, it will return login success page. If the user account is not correct, it will show the error message above the login form.