请求处理
Web 容器的 servlet 和 servlet 映射在 <Windchill>\codebase\WEB-INF\web.xml 中定义。以下提及的 url 模式已映射到 Spring DispatcherServlet,因此将被称为 MVC 请求。
<servlet-mapping>
<servlet-name>MVCDispatcher</servlet-name>
<url-pattern>/servlet/WizardServlet/*</url-pattern>
<url-pattern>/servlet/ActionsMenu/*</url-pattern>
<url-pattern>/servlet/RecentList/*</url-pattern>
<url-pattern>/servlet/Navigation/*</url-pattern>
<url-pattern>/servlet/SuggestServlet/*</url-pattern>
<url-pattern>/servlet/TypeBasedIncludeServlet/*</url-pattern>
<url-pattern>/servlet/UIValidationAJAXServlet/*</url-pattern>
<url-pattern>/ptc1/*</url-pattern>
<url-pattern>/app/*</url-pattern>
<url-pattern>/gwt/*</url-pattern><servlet-mapping>
</servlet-mapping>
<servlet>
<description>MVC Dispatcher Servlet for JCA</description>
<servlet-name>MVCDispatcher</servlet-name>
<servlet-class>org.springframework.web.servlet.
DispatcherServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
基于已配置 servlet 映射的 Web 容器会将所有 MVC 请求均定向到 Spring DispatcherServlet
这对您有帮助吗?