当前位置: 代码迷 >> Web前端 >> web中配备Struts
  详细解决方案

web中配备Struts

热度:123   发布时间:2012-10-29 10:03:53.0
web中配置Struts

  <servlet>
  <servlet-name>struts</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>
  <load-on-startup>0</load-on-startup>
 
  </servlet>
  <servlet-mapping>
  <servlet-name>struts</servlet-name>
  <url-pattern>*.do</url-pattern>
  </servlet-mapping>
  相关解决方案