ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
~~~ <?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> ~~~