<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
 xmlns:context="http://www.springframework.org/schema/context"
 xmlns:mvc="http://www.springframework.org/schema/mvc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xmlns:p="http://www.springframework.org/schema/p"
 xsi:schemaLocation="
        http://www.springframework.org/schema/beans     
        http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
        http://www.springframework.org/schema/context
        http://www.springframework.org/schema/context/spring-context-4.0.xsd
        http://www.springframework.org/schema/mvc
        http://www.springframework.org/schema/mvc/spring-mvc-4.0.xsd">
 <context:component-scan base-package="org.baeldung.controller.controller" />
 <mvc:annotation-driven />
 
  	 <bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">
	        <property name="prefix">
	            <value>/WEB-INF/</value>
	        </property>
	        <property name="suffix">
	            <value>.jsp</value>
	        </property>
	  </bean>
  </beans>