Jim: could we see the entire struts-config.xml could you print out the head for your LogonAction so we can see the Package specification for LogonAction? Has the LogonAction class been included in the war? Martin- ----- Original Message ----- From: "Jim Douglas" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 09, 2004 10:57 AM Subject: Re: Controller Form not forwarding to Action
> Niall, > I fixed that but it didn't matter. Any other suggestions? > Thanks, > Jim > > > >From: "Niall Pemberton" <[EMAIL PROTECTED]> > >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > >To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > >Subject: Re: Controller Form not forwarding to Action > >Date: Thu, 9 Dec 2004 05:23:15 -0000 > > > >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] > > > > > > --------------------------------------------------------------------- > 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]