浏览代码

SEC-1255: Forot dispathcer-servlet context

Luke Taylor 16 年之前
父节点
当前提交
735ecac215
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      itest/web/src/main/webapp/WEB-INF/testapp-servlet.xml

+ 8 - 0
itest/web/src/main/webapp/WEB-INF/testapp-servlet.xml

@@ -0,0 +1,8 @@
+<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+        xmlns:p="http://www.springframework.org/schema/p" xmlns:context="http://www.springframework.org/schema/context"
+        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 http://www.springframework.org/schema/context/spring-context-3.0.xsd">
+
+    <context:component-scan base-package="org.springframework.security.itest.web"/>
+    <context:annotation-config />
+</beans>