1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
|
?xml version="1.0" encoding="windows-1252" ?>
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
<struts-config>
<form-beans>
<form-bean type="daag.forms.loginForm" name="loginForm"/>
</form-beans>
<global-exceptions>
<exception key="message.java.lang.RuntimeException"
path="/jsp/loginExceptions.jsp"
type="java.lang.RuntimeException"/>
</global-exceptions>
<!-- ========== Action Mapping Definitions ============================== -->
<action-mappings >
<action forward="/jsp/login.jsp" path="/default" unknown="true"/>
<action input="/jsp/login.jsp"
name="loginForm"
path="/login"
type="daag.actions.loginAction"
validate="true" scope="request">
<forward name="succes" path="/html/menu.html"/>
</action>
</action-mappings>
<!-- ========== Message Resources Definitions =========================== -->
<message-resources parameter="daag.ApplicationResources" null="true"/>
<!-- ========== Plug Ins Configuration ================================== -->
<plug-in className="net.sf.navigator.menu.MenuPlugIn">
<set-property property="menuConfig" value="/WEB-INF/menu-config.xml"/> <!-- Default settings -->
</plug-in>
</struts-config> |