Hi. I'm tryin' to add this Strust extension to my project and from the documentation I understand that what I need to do is create my Action Flow using the SubmitButtonForwardDispatchAction, but after coding my Action Form and Action classes and setting up struts-config.xml I keep getting this error:
2004-09-23 19:10:08,062 DEBUG [org.apache.struts.action.RequestProcessor] Looking for Action instance for class com.mitranosoft.struts.actions.SubmitButtonForwardDispatchAction 2004-09-23 19:10:08,062 DEBUG [org.apache.struts.action.RequestProcessor] Creating new Action instance 2004-09-23 19:10:08,156 WARN [com.mitranosoft.struts.actions.SubmitButtonForwardDispatchAction] SubmitButtonForwardDispatchAction.execute(): Warning - Error encountered and handled while attempting to locate ActionForward property-name=[ submit ] of [EMAIL PROTECTED], for Request=[ [EMAIL PROTECTED]/webm/asistente.do,contextPath=/webm,method=POST,queryString=<null>,sessionId=BDCA619715A1B419D6785F9CAADC7185] ]. 2004-09-23 19:10:08,156 DEBUG [com.mitranosoft.struts.util.DefaultActionForwardSelector] DefaultActionForwardSelector.getActionForward(): Returning a default ActionForward matching name=[ otherwise ]. ActionForward=[ [EMAIL PROTECTED],path=/index.jsp,redirect=false,contextRelative=false] ], ActionForm=[ [EMAIL PROTECTED] ], for Request=[ [EMAIL PROTECTED]/webm/asistente.do,contextPath=/webm,method=POST,queryString=<null>,sessionId=BDCA619715A1B419D6785F9CAADC7185] ] 2004-09-23 19:10:08,156 WARN [com.mitranosoft.struts.actions.SubmitButtonForwardDispatchAction] SubmitButtonForwardDispatchAction.execute(): Warning - A default ActionForm has been selected or created, ActionForward=[ [EMAIL PROTECTED],path=/index.jsp,redirect=false,contextRelative=false] ], because no property was found for property-name=[ submit ] of [EMAIL PROTECTED], for Request=[ [EMAIL PROTECTED]/webm/asistente.do,contextPath=/webm,method=POST,queryString=<null>,sessionId=BDCA619715A1B419D6785F9CAADC7185] ] 2004-09-23 19:10:08,156 DEBUG [org.apache.struts.action.RequestProcessor] processForwardConfig(ForwardConfig[name=otherwise,path=/index.jsp,redirect=false]) - In each of JSP's I have this for my buttons except for <html:cancel>: <html:submit property="submit"> <bean:message key="button.XXXX" /> // Where XXXX could be 'next', 'back', 'finish' </html:submit> I understand that the extension -through the SubmitButtonForwardDispatchAction action- does the job of automatically mapping a <html:submit...> button to an Action that is supposed to process the specific business logic that button encapsulates, acting like some kind of hub for every incoming button click in the JSP forms, but I don't know whether I am missing something because things just won't work. It's worth saying that the mapping in the SubmitButtonForwardDispatchAction for a 'cancel' action works fine, whenever I hit the cancel button in my form I'm redirected to the correct location; also the 'otherwise' mapping works good... it's were I'm taken to everytime I hit the next button and the errors pops up in the log files :^P For any help, my eternal gratitude :^) Have a nice evening. Regards, Carlos