The action in the form form here fills in the action= "/aaa/hello/login" where AAA is the same value in the path that is deployed on Tomcat, which can be said to be a logical map: as shown in the following figure
*************************************************************************************************************** This is a split line.
You can access Localhost:8080/test/nihao/helloworld/hello if you want to access the action directly in the Address bar.
Where test is the logical path of the configuration file (the one configured in Tomcat) Nihao is the namespace value. HelloWorld is the name of the package. And Hello is the name of the action. The picture is as follows
This can be done if you want to submit to a specified action on a form
Nihao is the value of namespace. HelloWorld is the name of the package. And Hello is the name of the action.