By implementing Action interface
Using Struts2 @Action annotation
By extending ActionSupport class
Any normal java class with execute() method returning String can be configured as Action class.