That was it exactly,
Thanks,
Jim
From: "David G. Friedman" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
<[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>
Subject: RE: Controller Form not forwarding to Action
Date: Thu, 9 Dec 2004 17:52:16 -0500
Jim,
Since the ActionForm is working but you're getting no data from your Action
class, are you using perform() instead of execute()? Old tutorials (and
some older books) on Struts all show the perform() method which is not
present in the current releases (1.2.4, it was deprecated in 1.1 and
removed
by 1.2.4). This would result in an action not forwarding after validation
succeeds since you would not have setup the appropriate execute() method
that 1.2.4 Action's invoke. Just my theory without having seen your
action
class but knowing your expectations. :)
Regards,
David
-----Original Message-----
From: Laconia Data Systems [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 09, 2004 11:32 AM
To: Struts Users Mailing List
Subject: Re: Controller Form not forwarding to Action
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]