One is setting the result name with the default type, one sets the result type with the default name.
You'd use the appropriate one when you need to set on the attributes but not the other.
The
Struts 2 documentation explains each of the configuration elements (not tags).