Shop/WebContent/WEB-INF/web.xml

(开头部分) 1KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.4"
	xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee   http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">

	<context-param>
	    <param-name>contextConfigLocation</param-name>
	    <param-value>classpath:applicationContext.xml</param-value>
    </context-param>
	
	<listener>
    	<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
    </listener>
	

	<filter>
		<filter-name>struts2</filter-name>
		<filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
	</filter>
	
<filter> 

    <filter-name>openSessionInViewFilter</filter-name> 

    <filter-class> 

        org.springframework.orm.hibernate3.support.OpenSessionInViewFilter 

    </filter-class> 

</filter> 

<filter-mapping> 

    <filter-name>openSessionInViewFilter</filter-name> 

    <url-pattern>/*</url-pattern> 

</filter-mapping>  
	<filter-mapping>
		<filter-name>struts2</filter-name>
		<url-pattern>*.do</url-pattern>
       	<dispatcher>REQUEST</dispatcher>   
       	<dispatcher>FORWARD</dispatcher>   
       	<dispatcher>INCLUDE</dispatcher> 
	</filter-mapping>
	
	<servlet>
		<servlet-name>yzmcode</servlet-name>
		<servlet-class>util.YzmCode</servlet-class>
	</servlet>

	<servlet-mapping>
		<servlet-name>yzmcode</servlet-name>
		<url-pattern>/code</url-pattern>
	</servlet-mapping>

	<welcome-file-list>
		<welcome-file>index.do</welcome-file>
	</welcome-file-list>
后面还有 2 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。