...
If you examine class HelloWorldAction from tutorial Using Struts 2 Tags you'll see that it extends class ActionSupport
and then overrides method execute.
...
One of the most common responsibilities of the Action class is to process user input on a form and then make the result of the processing available to the view page. To illustrate this responsibility, let's say that on our view page, HelloWorld.jsp, we want
to display a personal hello, such as "Hello Struts User Bruce."
In the Using Struts 2 Tags example application we added a Struts 2 form to index.jsp.
...