Struts2 is an Model-View-Controller or more popularly known as MVC Framework. It is totally different than the earlier Struts1 MVC Framework. The Struts2 has the annotation based implementation as well as the earlier XML based configuration. First of all I am going to explain the annotation based configuration and later on along with that I will also demonstrate the XML based configuration as well.