commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hus...@apache.org
Subject cvs commit: jakarta-commons-sandbox/chain/apps/mailreader/src/webapp/WEB-INF/struts-config logon.xml
Date Thu, 08 Apr 2004 23:29:32 GMT
husted      2004/04/08 16:29:32

  Modified:    chain/apps/mailreader/src/webapp/WEB-INF/struts-config
                        logon.xml
  Log:
  Expand Logon action
  
  Revision  Changes    Path
  1.2       +20 -3     jakarta-commons-sandbox/chain/apps/mailreader/src/webapp/WEB-INF/struts-config/logon.xml
  
  Index: logon.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/chain/apps/mailreader/src/webapp/WEB-INF/struts-config/logon.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- logon.xml	25 Mar 2004 12:37:58 -0000	1.1
  +++ logon.xml	8 Apr 2004 23:29:32 -0000	1.2
  @@ -15,7 +15,7 @@
       <form-beans>
   
           <form-bean
  -            name="Logon"
  +            name="LogonUser"
               type="org.apache.struts.validator.DynaValidatorForm">
              <form-property name="username" type="java.lang.String"/>
              <form-property name="password" type="java.lang.String"/>
  @@ -28,8 +28,25 @@
       <global-forwards/>
   
       <action-mappings>
  -        <action path="/LogonForm" forward="/missing.jsp" />
  -    </action-mappings>
   
  +        <action path="/LogonForm"
  +            name="LogonUser"
  +            validate="false"
  +            scope="request"
  +            forward="/logon.jsp" />
  +
  +        <action path="/LogonUser"
  +            name="LogonUser"
  +            validate="true"
  +            scope="request"
  +            input="input"
  +            type="org.apache.commons.chain.mailreader.struts.LogonAction">
  +            <forward name="input" path="/LogonForm.do" />
  +            <forward name="success" path="/Menu.do" />
  +        </action>
  +
  +        <action path="/Logoff" forward="/missing.jsp" />
  +
  +    </action-mappings>
   
   </struts-config>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message