Skip to content

Instantly share code, notes, and snippets.

@rokinmaharjan
Created December 24, 2018 06:32
Show Gist options
  • Select an option

  • Save rokinmaharjan/afb20a155b52167a8f332761c85fc3aa to your computer and use it in GitHub Desktop.

Select an option

Save rokinmaharjan/afb20a155b52167a8f332761c85fc3aa to your computer and use it in GitHub Desktop.
Dispatcher servlet config
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/mvc
http://www.springframework.org/schema/mvc/spring-mvc.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd ">
<context:component-scan base-package="com.rokin.spring" />
<mvc:annotation-driven />
</beans>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment