struts1.0 web.xml 配置

<servlet>
			<servlet-name>action</servlet-name>
			<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
			
			<init-param>
				<param-name>config</param-name>
				<param-value>/WEB-INF/struts-config.xml</param-value>
			</init-param>
			
			<init-param>
				<param-name>debug</param-name>
				<param-value>3</param-value>
			</init-param>
			
			<init-param>
				<param-name>detail</param-name>
				<param-value>0</param-value>
			</init-param>
			<load-on-startup>1</load-on-startup>
	</servlet>
<servlet-mapping>
		<servlet-name>action</servlet-name>
		<url-pattern>*.do</url-pattern>
	</servlet-mapping>

你可能感兴趣的:(java,apache,Web,xml,struts)