Getting started with strust2 keeps reporting 404 errors.

write the code step by step with the video, but keep reporting the 404 error Baidu has not solved a lot of it

structure
clipboard.png

web.xml
clipboard.png

struts2.xml
clipboard.png

:
clipboard.png

Product action
clipboard.png

index.jsp input input.jsp
clipboard.png

input.jsp details.jsp
clipboard.png

details.jsp
clipboard.png

Please all the great gods to give us some guidance

Mar.07,2021

the problem is solved but I don't know how to solve it. When I reopened eclipse this morning, I found that happiness was running all of a sudden. But does the boss know why?
and what I wrote earlier will appear: There is no Action mapped for namespace [/] and action name [login] associate ; this wrong project can also be run

attach my eclipse version
clipboard.png

Menu