특별한딸기이야기

sturuts 기본 xml이랄까요... 본문

딸기 공부방/struts and spring

sturuts 기본 xml이랄까요...

특별한녀석 2008. 11. 12. 10:00

<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
 <display-name>
  Struts_And_Spring_Examples
 </display-name>
 <welcome-file-list>
  <welcome-file>index.html</welcome-file>
  <welcome-file>index.htm</welcome-file>
  <welcome-file>index.jsp</welcome-file>
  <welcome-file>default.html</welcome-file>
  <welcome-file>default.htm</welcome-file>
  <welcome-file>default.jsp</welcome-file>
 </welcome-file-list>
 
 <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_Configs/struts-default.xml
   </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>
</web-app>