This site doesn\'t allow user to ask technical questions to their tutorial which I believe is broken:
http://www.mkyong.com/misc/how-to-use-mkyong-tutorial/
If you follow the tutorial, which is linked to the page Struts 2 Hello World Example, and done everything till p. 7 then you should Run it as is written
In Struts2, you can access the action class directly with a suffix of .action.
http://localhost:8080/Struts2Example/User/Login.action
If you tried to access application as
http://localhost:8080/Struts2Example
you will get a message and 404 error code is returned to the browser.
WARNING: Could not find action or result There is no Action mapped for namespace [/] and action name [] associated with context path [/Struts2Example]. - [unknown location]
The workaround is to add the file to the web root folder that will redirect a browser to the correct location.
index.html:
Loading ...
Also modify web application deployment descriptor to include this file name to the welcome files list.
web.xml:
index.html
That's it, if you are looking for the Hello World tutorial, you should use these references: