Archive: Z-A Spring Codes Subscribe to Z-A Spring Codes
Spring MVC with CookieThemeResolver Tutorial + Example
BACK
Spring MVC with CookieThemeResolver Tutorial + Example
app-config.xml
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/context...
Spring MVC form Validation with InternalResourceViewResolver Tutorial + Example
BACK
Spring MVC form Validation with InternalResourceViewResolver Tutorial + Example
dispatcher-Servlet.xml
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"...
Spring MVC with i18n LocaleChangeInterceptor Tutorial + Example
BACK
Spring MVC with i18n LocaleChangeInterceptor Tutorial + Example
dispatcher-Servlet.xml
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
<bean...
Spring MVC with SimpleMappingExceptionResolver Tutorial and Example
BACK
Spring MVC with SimpleMappingExceptionResolver Tutorial and Example
dispatcher-Servlet.xml
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
<bean...
Spring MVC with Order View Resolvers Tutorial and Example
BACK
Spring MVC with Order View Resolvers Tutorial and Example
dispatcher-servlet.xml
- <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans...
Spring MVC with XmlViewResolver Tutorial and Example
BACK
Spring MVC with XmlViewResolver Tutorial and Example
dispatcher-Servlet.xml
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
<bean...
Spring MVC with InternalResourceViewResolver Tutorial and Example
BACK
InternalResourceViewResolver
dispatcher-servlet.xml
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
<bean...
Spring MVC with ParameterizableViewController Tutorial and Example
BACK
Spring MVC with ParameterizableViewController Tutorial and Example
dispatcher-servlet.xml
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
<!--
<bean...
Spring MVC with ParameterMethodNameResolver Tutorial and Example
BACK
Spring MVC with ParameterMethodNameResolver Tutorial and Example
dispatcher-servlet.xml
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
<bean...
Spring MVC with PropertiesMethodNameResolver Tutorial and Example
BACK
Spring MVC with PropertiesMethodNameResolver Tutorial and Example
dispatcher-servlet.xml
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
<bean...
Spring MVC with InternalPathMethodNameResolver Tutorial and Example
BACK
Spring MVC with InternalPathMethodNameResolver Tutorial and Example
dispatcher-servlet.xml
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
...
Spring MVC to set priority for handler mapping Tutorial and Example
BACK
Spring MVC to set priority for handler mapping Tutorial
dispatcher-servlet.xml
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
<bean...
Spring MVC with SimpleUrlHandlerMapping Tutorial and Example
BACK
SimpleUrlHandlerMapping Tutorial
dispatcher-servlet.xml
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
<bean...
Spring MVC with ControllerClassNameHandlerMapping case sensitive Tutorial and Example
BACK
ControllerClassNameHandlerMapping case sensitive Tutorial
dispatcher-servlet.xml
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
<bean...
Spring MVC with ControllerClassNameHandlerMapping pathPrefixTutorial and Example
BACK
ControllerClassNameHandlerMapping pathPrefixTutorial
dispatcher-servlet.xml
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
<bean...
Spring MVC with ControllerClassNameHandlerMapping Tutorial and Example
BACK
Spring MVC with ControllerClassNameHandlerMapping Tutorial
dispatcher-servlet.xml
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
<bean...
Spring MVC with BeanNameUrlHandlerMapping Tutorial and Example
BACK
Spring MVC with BeanNameUrlHandlerMapping Tutorial and Example
dispatcher-servlet.xml
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
<bean...
Spring MVC 3 Hello world tutorial and Example
BACK
Spring MVC 3 Hello world tutorial and Example
In this tutorial we will help you understand how to run a simple hello world
application in spring using Eclipse + apache tomcat 6 + jdk 1.6
Download the below source code and run...