If the struts label is used and the struts configuration has a namespace, The namespace must be specified in <s: Form>, and the submitted action class does not require the extension of an action.
If the struts label is used and there is no namespace in the struts configuration, the <s: Form> parameter does not need to be specified. When submitting the request, add the action class name and the Action suffix.
For HTML form submission and namespace in struts configuration, the submission path and action name must be specified in action =. For example, if my host is 127.0.0.1 and the HTTP protocol is used, port 8080, action class is named A, and project name is test, the request is submitted as follows: http: // 172.0.0.1: 8080/test/a. Action.
If the form is submitted in HTML mode and no namespace is configured for struts, submit the action name directly.
Small details of the struts2 namespace path