合规国际互联网加速 OSASE为企业客户提供高速稳定SD-WAN国际加速解决方案。 广告
~~~ <?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.xsd http://www.springframework.org/schema/context https://www.springframework.org/schema/context/spring-context.xsd http://www.springframework.org/schema/mvc https://www.springframework.org/schema/mvc/spring-mvc.xsd"> <!--指定包及子包的文件,交给了spring管理--> <context:component-scan base-package="com.nobb.controller"/> <!--启用注解配置SpringMVC--> <mvc:annotation-driven/> <bean name="internalResourceViewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver"> <!--视图文件路径--> <property name="prefix" value="/WEB-INF/pages"/> <!--视图文件后缀--> <property name="suffix" value=".jsp"/> </bean> </beans> ~~~