一、
1、dispatcher-servlet.xml文件
<?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"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
<!--xmlns:context="http://www.springframework.org/schema/context" 1、-->
<!-- 控制器类所在的包-->
<context:component-scan base-package="control"/>
<bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">
<!-- /WEB-INF/page/意为页面的路径,.jsp为页面格式-->
<property name="prefix" value="/WEB-INF/page/"/>
<property name="suffix" value=".jsp"/>
</bean>
</beans>
二、配置站点
1、添加服务并引入项目
来源:https://www.cnblogs.com/fger/p/12332155.html