/WEB-INF/web.xml (1)
<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/struts-default.xml</param-value>
</init-param>
<init-param>
<param-name>config/user</param-name>
<param-value>/WEB-INF/struts/struts-user.xml</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
/WEB-INF/web.xml (2) http://localhost/action.do http://localhost/user/action.do
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>
<init-param>
<param-name>config/user</param-name>
<param-value>/WEB-INF/struts-config-user.xml</param-value>
</init-param>
/WEB-INF/struts/struts-user.xml
<?xml version="1.0" encoding="euc-kr" ?>
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.3//EN" "http://struts.apache.org/dtds/struts-config_1_3.dtd">
<struts-config>
</struts-config>
댓글 없음:
댓글 쓰기