Self-study Java to the SSH integration phase, recording one of the Detours series.
Today toss SSH encountered several problems, recorded as follows:
1. When the action is submitted, it prompts no result defined for action com.***.action.****action and result input, indicating that no action is found or no corresponding result is present. In addition to checking the action class for any problems, be sure to double-check the property values submitted in the page and the corresponding property values in your action, and if not, the program will not invoke the method in action, and directly report an error. For example, if the action submitted is user_add.action, if the passed parameter name is incorrect, the program does not call the Add () method in useraction to directly report an error.
2, manytoone relationship, in the multi-party when the Cascade deletion, should first make a query, otherwise prone to error.
One of the Java Road Series