This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
I don't get good results. The browser says it has displayed salesOrderNew.do. The JSP page is displayed without being filled with ActionForm data. The Action and LookupDispatchAction methods aren't even entered (debug code tells me so).
and create the required SalesOrderNewAction class I get desired results (a new sales order).
So my question is -- why won't my SalesOrderDispatchAction get called?
Joined: Feb 10, 2006
I have found my answer. The SalesOrderForm.validate() method was failing. It was being called prior to any SalesOrderDispatchAction method being called, and so returned the input page salesOrder.jsp without a backing SalesOrderForm being available.
Hard to debug because it looks like it is in the Struts blackbox. By substituting destination pages in the forwards, and having *those* work OK, was I able to narrow down where the failure was occurring.