<?xml version="1.0" encoding="utf-8" ?>
<!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>
<form-beans>
<form-bean name="logonForm" type="app.LogonForm" />
</form-beans>
<action-mappings>
<action path="/Welcome" forward="/pages/Welcome.jsp" />
<action path="/Logon" forward="/pages/Logon.jsp" />
<action path="/LogonSubmit" type="app.LogonAction"
name="logonForm" scope="request" validate="true"
input="/pages/Logon.jsp">
<forward name="success" path="/pages/Welcome.jsp" />
<forward name="failure" path="/pages/Logon.jsp" />
</action>
<action path="/Logoff" type="app.LogoffAction">
<forward name="success" path="/pages/Logoff.jsp" />
</action>
</action-mappings>
<message-resources parameter="resources.application" />
</struts-config>
'FRAMEWORK' 카테고리의 다른 글
struts - UTF-8 설정 (인코딩설정) (0) | 2010.08.26 |
---|---|
EJB EntityBeans (0) | 2009.09.18 |
[Struts] JDBC 사용하기. (0) | 2008.04.22 |