Looks like you have a missing ">" in your struts-config after
input="/logon.jsp"....

     <action    path="/logon"
                type="app.web.LogonAction"
                name="logonForm"
                scope="request"
                input="/logon.jsp">
          <forward name="success" path="/portal/welcome.jsp"/>
          <forward name="failure" path="/portal/error.jsp"/>
     </action>

Niall

----- Original Message ----- 
From: "Jim Douglas" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 09, 2004 3:29 AM
Subject: Controller Form not forwarding to Action


> To all,
>   I have an LoginForm which is working fine.  The problem is struts is not
> forwarding after form validation.  It never gets into the LoginAction
class.
>
>   This is the output to the log file.
>
> DEBUG -  Validating input form properties
> INFO - IN LogonForm CLASS: ActionErrors METHOD
> INFO - password = jim
> INFO - username = butter
> DEBUG -   No errors detected, accepting input
> DEBUG -  Looking for Action instance for class app.web.LogonAction
> DEBUG -   Creating new Action instance
>
> This is my struts-config.xml
>
>   <!-- ========== Form Bean Definitions
===================================
> -->
>   <form-beans>
>     <!-- Logon form bean -->
>     <form-bean      name="logonForm"
>                     type="app.web.LogonForm"/>
>   </form-beans>
> <!-- ========== Global Forward Definitions ==============================
> -->
>   <global-forwards>
>     <forward   name="logon"                path="/logon.jsp"/>
>     <forward   name="success"              path="/portal/welcome.jsp"
> rewrite="true"/> -->
>   </global-forwards>
>
>   <action-mappings>
>     <!-- Process a user logon -->
>     <action    path="/logon"
>                type="app.web.LogonAction"
>                name="logonForm"
>                scope="request"
>                input="/logon.jsp"
>        <forward name="success" path="/portal/welcome.jsp"/>
>                <forward name="failure" path="/portal/error.jsp"/>
>     </action>
>
> Where else can I look?
>
> Thanks,
> Jim
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to